From 8a5f02ad6fd9e665f19382ce1dbcc07bc4e4b79a Mon Sep 17 00:00:00 2001 From: Fernando Prado Date: Fri, 18 Oct 2024 12:54:02 +0200 Subject: [PATCH] fix scenarios --- code/Test_definitions/sim-swap-check.feature | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/Test_definitions/sim-swap-check.feature b/code/Test_definitions/sim-swap-check.feature index b1dfa56..121ede6 100644 --- a/code/Test_definitions/sim-swap-check.feature +++ b/code/Test_definitions/sim-swap-check.feature @@ -72,6 +72,7 @@ Feature: CAMARA SIM Swap API, 1.0.0 - Operation checkSimSwap Scenario: Check that the response shows that the SIM has not been swapped - maxAge is not provided in the request parameter Given a valid phone number identified by the token or provided in the request body And the SIM for this phone number has never been swapped + And the activation of the SIM occurred more than 240 hours ago When the request "checkSimSwap" is sent Then the response status code is 200 And the value of response property "$.swapped" == false @@ -80,6 +81,7 @@ Feature: CAMARA SIM Swap API, 1.0.0 - Operation checkSimSwap Scenario Outline: Check that the response shows that the SIM has not been swapped - maxAge is provided in the request parameter Given a valid phone number identified by the token or provided in the request body And the SIM for this phone number has never been swapped + And the activation of the SIM occurred more than "" hours ago And the request body property "maxAge" is set to a value equal or greater than "" within the allowed range When the request "checkSimSwap" is sent Then the response status code is 200