mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-31 04:00:18 +02:00
Fix typo
no -> now
This commit is contained in:
@@ -22,7 +22,7 @@ class MementoTest extends \PHPUnit_Framework_TestCase
|
||||
$ticket->assign();
|
||||
$this->assertEquals(State::STATE_ASSIGNED, (string) $ticket->getState());
|
||||
|
||||
// no restore to the opened state, but verify that the state object has been cloned for the memento
|
||||
// now restore to the opened state, but verify that the state object has been cloned for the memento
|
||||
$ticket->restoreFromMemento($memento);
|
||||
|
||||
$this->assertEquals(State::STATE_OPENED, (string) $ticket->getState());
|
||||
|
Reference in New Issue
Block a user