Skip to content

Commit

Permalink
Fix test-safety-net to work for GitHub Actions' tests, too
Browse files Browse the repository at this point in the history
  • Loading branch information
forevermatt committed Sep 30, 2024
1 parent 8a5af26 commit 8976497
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions application/features/bootstrap/GroupsExternalSyncContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ public function thereShouldHaveBeenASyncErrorThatMentions($text)
*/
public function onlyTheFollowingUsersExistWithTheseExternalGroups(TableNode $table)
{
Assert::eq(
Assert::inArray(
Env::get('MYSQL_DATABASE'),
'appfortests',
'This test should only be run against the test database (it deletes users)'
['appfortests', 'test'],
'This test should only be run against a test database (because it deletes users)'
);

$usersThatShouldExist = [];
Expand Down

0 comments on commit 8976497

Please sign in to comment.