Skip to content

Commit ab6d4b4

Browse files
authored
Merge pull request #231 from phpcr/update-behat
adjust to behat detecting malformed features now
2 parents 4bc2a25 + 8007dd5 commit ab6d4b4

File tree

5 files changed

+7
-1
lines changed

5 files changed

+7
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"require-dev": {
1818
"phpunit/phpunit": "^9.5",
1919
"behat/behat": "^3.10",
20-
"phpspec/phpspec": "^7.2",
20+
"phpspec/phpspec": "^7.2 || ^8.2",
2121
"jackalope/jackalope-doctrine-dbal": "^1.3 || ^2.0",
2222
"jackalope/jackalope-jackrabbit": "^1.4.4 || ^2.0",
2323
"phpspec/prophecy-phpunit": "^2.0"

features/all/phpcr_lock_token_list.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Feature: List the lock tokens registered with the current session
99
Scenario: List lock tokens
1010
Given I execute the "lock:token:add foobar" command
1111
Then the command should fail
12+
Then I should see the following:
1213
"""
1314
Not implemented
1415
"""

features/all/phpcr_retention_hold_remove.feature

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Feature: Remove retention hold
99

1010
Scenario: List retention holds
1111
Given I execute the "retention:hold:remove /tests_general_base foobar" command
12+
Then the command should fail
13+
And I should see the following:
1214
"""
1315
Unsupported repository operation
1416
"""

features/all/phpcr_retention_policy_get.feature

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Feature: Show a retention policy for a given node
99

1010
Scenario: Get retention policy on a given node
1111
Given I execute the "retention:policy:get /tests_general_base" command
12+
Then the command should fail
13+
And I should see the following:
1214
"""
1315
Unsupported repository operation
1416
"""

features/all/phpcr_retention_policy_remove.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Feature: Remove a retention policy for a given node
1010
Scenario: Remove the retention policy on a given node
1111
Given I execute the "retention:policy:remove /tests_general_base" command
1212
Then the command should fail
13+
And I should see the following:
1314
"""
1415
Unsupported repository operation
1516
"""

0 commit comments

Comments
 (0)