From 57ac8421b365290980aa4b347c6ef92aff617909 Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Thu, 5 May 2022 14:58:29 +0200 Subject: [PATCH] Fix issue in unit test for #121 --- .../test/java/org/metafacture/metafix/MetafixRecordTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/metafix/src/test/java/org/metafacture/metafix/MetafixRecordTest.java b/metafix/src/test/java/org/metafacture/metafix/MetafixRecordTest.java index 515ffe22..7c168c9b 100644 --- a/metafix/src/test/java/org/metafacture/metafix/MetafixRecordTest.java +++ b/metafix/src/test/java/org/metafacture/metafix/MetafixRecordTest.java @@ -1127,7 +1127,6 @@ private void assertThrowsOnEmptyRecord(final String index) { } @Test - @MetafixToDo("See https://github.com/metafacture/metafacture-fix/issues/121") public void shouldAddArraySubFieldWithAsterisk() { MetafixTestHelpers.assertFix(streamReceiver, Arrays.asList( "add_field('coll[].*.c', 'test')" @@ -1172,7 +1171,7 @@ public void shouldAddArraySubFieldWithAsterisk() { o.get().startEntity("4"); o.get().literal("a", "Crocodile"); o.get().literal("c", "test"); - f.apply(3).endEntity(); + f.apply(2).endEntity(); o.get().endRecord(); } );