diff --git a/tests/CoreBundle/Repository/TrackExerciseRepositoryTest.php b/tests/CoreBundle/Repository/TrackExerciseRepositoryTest.php index 89728267b7..7d6381cf1c 100644 --- a/tests/CoreBundle/Repository/TrackExerciseRepositoryTest.php +++ b/tests/CoreBundle/Repository/TrackExerciseRepositoryTest.php @@ -130,6 +130,7 @@ class TrackExerciseRepositoryTest extends AbstractApiTest //$trackExercise = $repo->find($trackExercise->getExeId()); $this->assertSame(1, $trackExercise->getAttempts()->count()); + $this->assertInstanceOf(TrackEAttempt::class, $trackExercise->getAttemptByQuestionId(1)); $file = $this->getUploadedFile();