From 8007dd5eac94c478d37e799471a615faf68b2780 Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Tue, 24 Mar 2026 11:28:34 +0100 Subject: [PATCH] adjust to behat detecting malformed features now --- composer.json | 2 +- features/all/phpcr_lock_token_list.feature | 1 + features/all/phpcr_retention_hold_remove.feature | 2 ++ features/all/phpcr_retention_policy_get.feature | 2 ++ features/all/phpcr_retention_policy_remove.feature | 1 + 5 files changed, 7 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index e1e4c9f7..36800e58 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "require-dev": { "phpunit/phpunit": "^9.5", "behat/behat": "^3.10", - "phpspec/phpspec": "^7.2", + "phpspec/phpspec": "^7.2 || ^8.2", "jackalope/jackalope-doctrine-dbal": "^1.3 || ^2.0", "jackalope/jackalope-jackrabbit": "^1.4.4 || ^2.0", "phpspec/prophecy-phpunit": "^2.0" diff --git a/features/all/phpcr_lock_token_list.feature b/features/all/phpcr_lock_token_list.feature index b762ae05..2699ee5d 100644 --- a/features/all/phpcr_lock_token_list.feature +++ b/features/all/phpcr_lock_token_list.feature @@ -9,6 +9,7 @@ Feature: List the lock tokens registered with the current session Scenario: List lock tokens Given I execute the "lock:token:add foobar" command Then the command should fail + Then I should see the following: """ Not implemented """ diff --git a/features/all/phpcr_retention_hold_remove.feature b/features/all/phpcr_retention_hold_remove.feature index 56e3a1a5..f24e556c 100644 --- a/features/all/phpcr_retention_hold_remove.feature +++ b/features/all/phpcr_retention_hold_remove.feature @@ -9,6 +9,8 @@ Feature: Remove retention hold Scenario: List retention holds Given I execute the "retention:hold:remove /tests_general_base foobar" command + Then the command should fail + And I should see the following: """ Unsupported repository operation """ diff --git a/features/all/phpcr_retention_policy_get.feature b/features/all/phpcr_retention_policy_get.feature index 494aff1b..b866f1e1 100644 --- a/features/all/phpcr_retention_policy_get.feature +++ b/features/all/phpcr_retention_policy_get.feature @@ -9,6 +9,8 @@ Feature: Show a retention policy for a given node Scenario: Get retention policy on a given node Given I execute the "retention:policy:get /tests_general_base" command + Then the command should fail + And I should see the following: """ Unsupported repository operation """ diff --git a/features/all/phpcr_retention_policy_remove.feature b/features/all/phpcr_retention_policy_remove.feature index 96bc65a9..d4a3303e 100644 --- a/features/all/phpcr_retention_policy_remove.feature +++ b/features/all/phpcr_retention_policy_remove.feature @@ -10,6 +10,7 @@ Feature: Remove a retention policy for a given node Scenario: Remove the retention policy on a given node Given I execute the "retention:policy:remove /tests_general_base" command Then the command should fail + And I should see the following: """ Unsupported repository operation """