From dd29691affa53b04ac65b5fe7dc90df8e0286867 Mon Sep 17 00:00:00 2001
From: Dan Jones <dan.jones@noc.ac.uk>
Date: Mon, 20 Feb 2023 15:23:22 +0000
Subject: [PATCH] test: correct expected calls in poll method

---
 features/adapter_poll.feature | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/features/adapter_poll.feature b/features/adapter_poll.feature
index 1a860b7..348266a 100644
--- a/features/adapter_poll.feature
+++ b/features/adapter_poll.feature
@@ -46,10 +46,10 @@ Feature: Can the adapter receive messages?
     When the adapter instance is created 
     When the auth method is called 
     When a mock receive API response is configured to return an error 
-    When the publish method is called 
+    When the poll method is called 
     Then an error response is returned with status 403 
     Then the credentials are deleted
-    Then the receive method was called with is_retry on
+    Then the poll method was called with is_retry on
     Then the getAuthorizationHeader method is called 
     
   Scenario: On a retried 403 the message is not retried again
@@ -57,7 +57,7 @@ Feature: Can the adapter receive messages?
     When the adapter instance is created 
     When the auth method is called 
     When a mock receive API response is configured to return an error 
-    When the receive method is called with is_retry on
+    When the poll method is called with is_retry on
     Then an error response is returned with status 403
     Then the credentials are deleted 
-    Then the receive method is not called again
+    Then the poll method is not called again
-- 
GitLab