Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
macano committed Jan 21, 2025
1 parent 00a3c65 commit 35b638b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,15 +159,15 @@ class SurveyRepositoryTest {
val createdBy = surveyLoadedAfterCreate?.createdBy
assertNotNull(createdBy)
assertEquals("Jaap", createdBy.note)
assertEquals(jaapId.toKotlinUuid(), createdBy.id)
assertEquals(jaapId, createdBy.id)

// edit survey
surveyRepository.save(surveyLoadedAfterCreate, pietId)
val surveyLoadedAfterEdit = surveyRepository.getSurveyById(surveyId)
val createdBy2 = surveyLoadedAfterEdit?.createdBy
assertNotNull(createdBy2)
assertEquals("Jaap", createdBy2.note)
assertEquals(jaapId.toKotlinUuid(), createdBy2.id)
assertEquals(jaapId, createdBy2.id)
}

private fun wipeSequence(survey: Survey)
Expand Down

0 comments on commit 35b638b

Please sign in to comment.