mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-31 04:00:18 +02:00
Adapt Unit Tests code to PHPUnit 6
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
@@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user