Improve words in some test steps that check API responses

This commit is contained in:
Phil Davis
2023-04-24 10:58:05 +05:45
parent 8141a6d723
commit 24699b5678
2 changed files with 5 additions and 5 deletions
@@ -1706,13 +1706,13 @@ class GraphContext implements Context {
}
/**
* @Then the user retrieve API response should contain the following applications information:
* @Then the user API response should contain the following application information:
*
* @param TableNode $table
*
* @return void
*/
public function theResponseShouldContainTheFollowingApplicationsInformation(TableNode $table): void {
public function theResponseShouldContainTheFollowingApplicationInformation(TableNode $table): void {
Assert::assertIsArray($responseArray = ($this->featureContext->getJsonDecodedResponse($this->featureContext->getResponse()))['value'][0]);
foreach ($table->getHash() as $row) {
$key = $row["key"];
@@ -1728,7 +1728,7 @@ class GraphContext implements Context {
}
/**
* @Then the user retrieve API response should contain the following app roles:
* @Then the user API response should contain the following app roles:
*
* @param TableNode $table
*