Skip to content

Commit

Permalink
Removed redundant test
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesiek2010 committed Dec 12, 2024
1 parent 187f627 commit e80f541
Showing 1 changed file with 0 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,39 +207,6 @@ class LocalEntitiesFilterStrategyTest {
assertThat(fallthroughFilterStrategy.fellThrough, equalTo(false))
}

@Test
fun `works correctly with name != expressions`() {
entitiesRepository.save("things", Entity.New("thing", "Thing"))

val scenario = Scenario.init(
"Secondary instance form",
html(
head(
title("Secondary instance form"),
model(
mainInstance(
t(
"data id=\"create-entity-form\"",
t("question"),
t("calculate")
)
),
t("instance id=\"things\" src=\"jr://file-csv/things.csv\""),
bind("/data/question").type("string"),
bind("/data/calculate").type("string")
.calculate("instance('things')/root/item[name!='other']/label")
)
),
body(
input("/data/calculate")
)
),
controllerSupplier
)

assertThat(scenario.answerOf<StringData>("/data/calculate").value, equalTo("Thing"))
}

@Test
fun `works correctly with non eq name expressions`() {
entitiesRepository.save("things", Entity.New("thing", "Thing"))
Expand Down

0 comments on commit e80f541

Please sign in to comment.