fix tests

This commit is contained in:
DavidBadura 2015-08-02 15:46:03 +00:00
parent e04ae2b2a7
commit 41c617c091
1 changed files with 4 additions and 4 deletions

View File

@ -188,15 +188,15 @@ class TaskManagerTest extends \PHPUnit_Framework_TestCase
$this->assertCount(2, $this->taskManager->filterPending()); $this->assertCount(2, $this->taskManager->filterPending());
$this->taskManager->done($task); $this->taskManager->done($task);
$this->isTrue($task->isCompleted()); $this->assertTrue($task->isCompleted());
$task3 = clone $task; $task3 = clone $task;
$this->isTrue($task3->isPending()); $this->assertTrue($task3->isPending());
$this->taskManager->save($task3); $this->taskManager->save($task3);
$this->isTrue($task->isCompleted()); $this->assertTrue($task->isCompleted());
$this->isTrue($task3->isPending()); $this->assertTrue($task3->isPending());
} }