diff --git a/src/test/kotlin/com/swm_standard/phote/entity/ExamTest.kt b/src/test/kotlin/com/swm_standard/phote/entity/ExamTest.kt index d3eaebd..9219049 100644 --- a/src/test/kotlin/com/swm_standard/phote/entity/ExamTest.kt +++ b/src/test/kotlin/com/swm_standard/phote/entity/ExamTest.kt @@ -117,8 +117,8 @@ class ExamTest { val sharedExam = fixtureMonkey .giveMeBuilder(SharedExam::class.java) - .setExp(SharedExam::startTime, LocalDateTime.now().plusDays(1)) .setExp(SharedExam::examineeCount, examineeCount) + .setExp(SharedExam::capacity, Arbitraries.integers().greaterOrEqual(examineeCount + 1)) .build() .sample()