-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use add_array instead of set_array in integration tests #374
As a preliminary work for #309 since set_array will change its behaviour but add_array will keep the functionality.
- Loading branch information
Showing
66 changed files
with
19 additions
and
19 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
...ure/metafix/integration/lookup/fromXml/toJson/lookupInDeeplyNestedArrayOfObjects/test.fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...method/fromXml/toJson/replace_allInOptionalSubfieldOfRepeatedObjectsWithAsterisk/test.fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...metafix/integration/record/fromJson/toJson/add_arrayIntoArrayOfObjectsWithAppend/test.fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
add_array("animals_2[].$append.test[]", "test", "test", "test") |
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...tafix/integration/record/fromJson/toJson/add_arrayIntoArrayOfObjectsWithAsterisk/test.fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
add_array("animals[].*.test[]", "test") |
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...e/metafix/integration/record/fromJson/toJson/add_arrayIntoArrayOfObjectsWithLast/test.fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
add_array("animals_2[].$last.test[]", "test", "test") |
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...tafix/integration/record/fromJson/toJson/add_arrayNestedSimpleWithMultipleValues/test.fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
add_array("object.test[]", "dog", "cat", "bird") |
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
.../metafix/integration/record/fromJson/toJson/add_arrayNestedSimpleWithSingleValue/test.fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
add_array("object.test[]", "dog") |
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...re/metafix/integration/record/fromJson/toJson/add_arrayNestedSimpleWithoutValues/test.fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
add_array("object.test[]") |
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...etafacture/metafix/integration/record/fromJson/toJson/add_arraySimpleDestructive/test.fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
add_array("test[]", "dog", "cat", "bird") |
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...ure/metafix/integration/record/fromJson/toJson/add_arraySimpleWithMultipleValues/test.fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
add_array("test[]", "dog", "cat", "bird") |
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...acture/metafix/integration/record/fromJson/toJson/add_arraySimpleWithSingleValue/test.fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
add_array("test[]", "dog") |
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...afacture/metafix/integration/record/fromJson/toJson/add_arraySimpleWithoutValues/test.fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
add_array("test[]") |
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ArrayOfStringsIntoArrayOfObjects/test.fix → ...ArrayOfStringsIntoArrayOfObjects/test.fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
set_array("test[]", "dog", "cat", "bird") | ||
add_array("test[]", "dog", "cat", "bird") | ||
move_field("test[]", "animals[].1.test[]") |
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ArrayOfStringsIntoArrayOfObjects/test.fix → ...ArrayOfStringsIntoArrayOfObjects/test.fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
set_array("test[]", "dog") | ||
add_array("test[]", "dog") | ||
move_field("test[]", "animals[].1.test[]") |
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ArrayOfStringsIntoArrayOfObjects/test.fix → ...ArrayOfStringsIntoArrayOfObjects/test.fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
set_array("test[]") | ||
add_array("test[]") | ||
move_field("test[]", "animals[].1.test[]") |
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...e/metafix/integration/record/fromJson/toJson/copy_fieldToArrayOfStringsWithIndex/test.fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
set_array("test[]") | ||
add_array("test[]") | ||
copy_field("key", "test[].1") | ||
copy_field("key_2", "test[].2") | ||
copy_field("key_3", "test[].3") |
1 change: 0 additions & 1 deletion
1
...metafix/integration/record/fromJson/toJson/set_arrayIntoArrayOfObjectsWithAppend/test.fix
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...tafix/integration/record/fromJson/toJson/set_arrayIntoArrayOfObjectsWithAsterisk/test.fix
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...e/metafix/integration/record/fromJson/toJson/set_arrayIntoArrayOfObjectsWithLast/test.fix
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...tafix/integration/record/fromJson/toJson/set_arrayNestedSimpleWithMultipleValues/test.fix
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
.../metafix/integration/record/fromJson/toJson/set_arrayNestedSimpleWithSingleValue/test.fix
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...re/metafix/integration/record/fromJson/toJson/set_arrayNestedSimpleWithoutValues/test.fix
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...etafacture/metafix/integration/record/fromJson/toJson/set_arraySimpleDestructive/test.fix
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...ure/metafix/integration/record/fromJson/toJson/set_arraySimpleWithMultipleValues/test.fix
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...acture/metafix/integration/record/fromJson/toJson/set_arraySimpleWithSingleValue/test.fix
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...afacture/metafix/integration/record/fromJson/toJson/set_arraySimpleWithoutValues/test.fix
This file was deleted.
Oops, something went wrong.