Fixed comment tests

This commit is contained in:
Marcin Kurczewski 2014-05-05 21:32:50 +02:00
parent 7df8a6fa3b
commit fb7119b235
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ class CommentAddTest extends AbstractTest
$this->assert->isNotNull($comment->commentDate);
$this->assert->doesNotThrow(function() use ($comment)
{
UserModel::findById($comment->getId());
CommentModel::findById($comment->getId());
});
}

View file

@ -17,7 +17,7 @@ class CommentEditTest extends AbstractTest
$this->assert->isNotNull($comment->commentDate);
$this->assert->doesNotThrow(function() use ($comment)
{
UserModel::findById($comment->getId());
CommentModel::findById($comment->getId());
});
}