@@ -40,11 +40,12 @@ Feature: Execute a a raw UPDATE query in JCR_SQL2
4040
4141 Scenario : Update single multivalue without selector
4242 Given I execute the "UPDATE [nt:unstructured] SET tags = array_replace(tags, 'Planes', 'Rockets') WHERE tags = 'Planes'" command
43+ Then the command should not fail
4344 And I save the session
4445 Then the command should not fail
4546 And I should see the following:
4647 """
47- 1 row(s) affected
48+ 2 row(s) affected
4849 """
4950 And the node at "/cms/articles/article1" should have the property "tags" with value "Rockets" at index "0"
5051 And the node at "/cms/articles/article1" should have the property "tags" with value "Automobiles" at index "2"
@@ -66,7 +67,7 @@ Feature: Execute a a raw UPDATE query in JCR_SQL2
6667 Then the command should not fail
6768 And I should see the following:
6869 """
69- 1 row(s) affected
70+ 2 row(s) affected
7071 """
7172 And the node at "/cms/articles/article1" should have the property "tags" with value "Trains" at index "0"
7273 And the node at "/cms/articles/article1" should have the property "tags" with value "Automobiles" at index "1"
@@ -77,7 +78,7 @@ Feature: Execute a a raw UPDATE query in JCR_SQL2
7778 Then the command should not fail
7879 And I should see the following:
7980 """
80- 1 row(s) affected
81+ 2 row(s) affected
8182 """
8283 And the node at "/cms/articles/article1" should have the property "tags" with value "Planes" at index "0"
8384 And the node at "/cms/articles/article1" should have the property "tags" with value "Automobiles" at index "2"
@@ -89,7 +90,7 @@ Feature: Execute a a raw UPDATE query in JCR_SQL2
8990 Then the command should not fail
9091 And I should see the following:
9192 """
92- 1 row(s) affected
93+ 2 row(s) affected
9394 """
9495 And the node at "/cms/articles/article1" should have the property "tags" with value "Planes" at index "0"
9596 And the node at "/cms/articles/article1" should have the property "tags" with value "Kite" at index "1"
0 commit comments