From c53f1efe503d2435acc37d85413eeeb4548e061b Mon Sep 17 00:00:00 2001 From: Dan Jones <dan.jones@noc.ac.uk> Date: Mon, 20 Feb 2023 14:49:02 +0000 Subject: [PATCH] fix: separate ambiguous step definitions Cucumber doesn't like having both a When and Then step with the same text. --- features/adapter_publish.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/adapter_publish.feature b/features/adapter_publish.feature index e3429c6..0ff7806 100644 --- a/features/adapter_publish.feature +++ b/features/adapter_publish.feature @@ -25,7 +25,7 @@ Feature: Can the adapter publish messages? When the publish method is called Then an error response is returned with status 403 Then the credentials are deleted - Then the publish method is called with is_retry on + Then the publish method was called with is_retry on Then the getAuthorizationHeader method is called Scenario: On a retried 403 the message is not retried again -- GitLab