Adapt Unit Tests code to PHPUnit 6

This commit is contained in:
Fabri Di Napoli
2017-03-09 00:35:08 +01:00
parent 16856fe6b6
commit 5df6eec070
37 changed files with 73 additions and 37 deletions

View File

@@ -5,8 +5,9 @@ namespace DesignPatterns\Behavioral\Command\Tests;
use DesignPatterns\Behavioral\Command\HelloCommand;
use DesignPatterns\Behavioral\Command\Invoker;
use DesignPatterns\Behavioral\Command\Receiver;
use PHPUnit\Framework\TestCase;
class CommandTest extends \PHPUnit_Framework_TestCase
class CommandTest extends TestCase
{
public function testInvocation()
{

View File

@@ -6,8 +6,9 @@ use DesignPatterns\Behavioral\Command\AddMessageDateCommand;
use DesignPatterns\Behavioral\Command\HelloCommand;
use DesignPatterns\Behavioral\Command\Invoker;
use DesignPatterns\Behavioral\Command\Receiver;
use PHPUnit\Framework\TestCase;
class UndoableCommandTest extends \PHPUnit_Framework_TestCase
class UndoableCommandTest extends TestCase
{
public function testInvocation()
{