Skip to content

Commit

Permalink
Simplified tests
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesiek2010 committed Jan 7, 2025
1 parent 3e87ac0 commit 543fe9d
Showing 1 changed file with 2 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -409,14 +409,7 @@ class LocalEntitiesFilterStrategyTest {

@Test
fun `works correctly with label = expressions`() {
entitiesRepository.save(
"things",
Entity.New(
"thing1",
"Thing1",
properties = listOf("property" to "value")
)
)
entitiesRepository.save("things", Entity.New("thing1", "Thing1"))

val scenario = Scenario.init(
"Secondary instance form",
Expand Down Expand Up @@ -452,15 +445,7 @@ class LocalEntitiesFilterStrategyTest {

@Test
fun `works correctly with version = expressions`() {
entitiesRepository.save(
"things",
Entity.New(
"thing1",
"Thing1",
version = 2,
properties = listOf("property" to "value")
)
)
entitiesRepository.save("things", Entity.New("thing1", "Thing1", version = 2))

val scenario = Scenario.init(
"Secondary instance form",
Expand Down

0 comments on commit 543fe9d

Please sign in to comment.