Skip to content

Commit

Permalink
An even better test
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperancinha committed Mar 3, 2024
1 parent 045a0ec commit 9cf47c6
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -25,7 +25,7 @@ open class CaseServiceAspectJTest(
fun insertCaseStartNonTransactional() {
val case = Case(
id = -1L,
designation = "Book case",
designation = "Book case 2",
weight = 230
)
try {
Expand All @@ -39,6 +39,6 @@ open class CaseServiceAspectJTest(
}

val all = caseService.getAll()
all.filter { it.designation == "Book case" }.shouldHaveSize(1)
all.filter { it.designation == "Book case 2" }.shouldHaveSize(1)
}
}

0 comments on commit 9cf47c6

Please sign in to comment.