Skip to content

Commit

Permalink
Remove now-unused new test step
Browse files Browse the repository at this point in the history
  • Loading branch information
forevermatt committed Aug 19, 2024
1 parent 931f4db commit b608e9f
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions application/features/bootstrap/GroupsExternalContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,23 +111,4 @@ public function iSignInAsThatUser()
$this->iRequestTheResourceBe('/authentication', 'created');
$this->theResponseStatusCodeShouldBe(200);
}

/**
* @Then the member list will include the following groups:
*/
public function theMemberListWillIncludeTheFollowingGroups(TableNode $table)
{
$memberList = $this->getResponseProperty('member');
Assert::notEmpty($memberList);

foreach ($table as $row) {
$group = $row['group'];
Assert::inArray($group, $memberList, sprintf(
'Expected to find group %s, but only found %s. User: %s',
$group,
join(', ', $memberList),
json_encode($this->user->attributes, JSON_PRETTY_PRINT)
));
}
}
}

0 comments on commit b608e9f

Please sign in to comment.