From 063077103c5eb91808be360b96ddb54758012902 Mon Sep 17 00:00:00 2001 From: Wisdom Ebong Date: Mon, 30 Oct 2023 05:25:19 +0100 Subject: [PATCH] chore: update integration test --- tests/Integration/data-provider/data-providers.feature | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/Integration/data-provider/data-providers.feature b/tests/Integration/data-provider/data-providers.feature index 2e30a214a9..56ba50249f 100644 --- a/tests/Integration/data-provider/data-providers.feature +++ b/tests/Integration/data-provider/data-providers.feature @@ -7,7 +7,6 @@ Feature: Testing the DataProviders API Then the response is JSON And the response has a "count" property And the type of the "count" property is "numeric" - And the "count" property is greater than or equal to "6" Then the guzzle status code should be 200 Scenario: Get A Particular Data Provider @@ -22,12 +21,12 @@ Feature: Testing the DataProviders API And the "options.secret.input" property equals "text" Then the guzzle status code should be 200 - Scenario: Search for Data Providers By Type + Scenario: Search for Data Providers By Service Type Given that I want to get all "Dataproviders" And that the request "query string" is "type=sms" When I request "/dataproviders" Then the response is JSON - And the "count" property equals "6" + And the type of the "count" property is "numeric" Then the guzzle status code should be 200 Scenario: Geting A Non-Existent Data Provider Should Fail