diff --git a/tests/Models/QAAnswerVoteMapperTest.php b/tests/Models/QAAnswerVoteMapperTest.php index 838ec51..c7c7d53 100755 --- a/tests/Models/QAAnswerVoteMapperTest.php +++ b/tests/Models/QAAnswerVoteMapperTest.php @@ -34,6 +34,7 @@ final class QAAnswerVoteMapperTest extends \PHPUnit\Framework\TestCase $vote->answer = 1; $vote->score = 1; $vote->createdBy = new NullAccount(1); + $vote->createdFor = 2; $id = QAAnswerVoteMapper::create()->execute($vote); self::assertGreaterThan(0, $vote->getId()); diff --git a/tests/Models/QAQuestionVoteMapperTest.php b/tests/Models/QAQuestionVoteMapperTest.php index ae482ac..ebc5588 100755 --- a/tests/Models/QAQuestionVoteMapperTest.php +++ b/tests/Models/QAQuestionVoteMapperTest.php @@ -34,6 +34,7 @@ final class QAQuestionVoteMapperTest extends \PHPUnit\Framework\TestCase $vote->question = 1; $vote->score = 1; $vote->createdBy = new NullAccount(1); + $vote->createdFor = 2; $id = QAQuestionVoteMapper::create()->execute($vote); self::assertGreaterThan(0, $vote->getId());