Fixed comment tests
This commit is contained in:
parent
7df8a6fa3b
commit
fb7119b235
2 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -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());
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue