Skip to content

Commit 9bd7962

Browse files
committed
Removed redundant test
1 parent 8be5302 commit 9bd7962

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

entities/src/test/java/org/odk/collect/entities/javarosa/filter/LocalEntitiesFilterStrategyTest.kt

-33
Original file line numberDiff line numberDiff line change
@@ -207,39 +207,6 @@ class LocalEntitiesFilterStrategyTest {
207207
assertThat(fallthroughFilterStrategy.fellThrough, equalTo(false))
208208
}
209209

210-
@Test
211-
fun `works correctly with name != expressions`() {
212-
entitiesRepository.save("things", Entity.New("thing", "Thing"))
213-
214-
val scenario = Scenario.init(
215-
"Secondary instance form",
216-
html(
217-
head(
218-
title("Secondary instance form"),
219-
model(
220-
mainInstance(
221-
t(
222-
"data id=\"create-entity-form\"",
223-
t("question"),
224-
t("calculate")
225-
)
226-
),
227-
t("instance id=\"things\" src=\"jr://file-csv/things.csv\""),
228-
bind("/data/question").type("string"),
229-
bind("/data/calculate").type("string")
230-
.calculate("instance('things')/root/item[name!='other']/label")
231-
)
232-
),
233-
body(
234-
input("/data/calculate")
235-
)
236-
),
237-
controllerSupplier
238-
)
239-
240-
assertThat(scenario.answerOf<StringData>("/data/calculate").value, equalTo("Thing"))
241-
}
242-
243210
@Test
244211
fun `works correctly with non eq name expressions`() {
245212
entitiesRepository.save("things", Entity.New("thing", "Thing"))

0 commit comments

Comments
 (0)