Skip to content

Commit

Permalink
Update tests/backdrop/RolesCommandsTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
yorkshire-pudding authored Jun 26, 2024
1 parent c852cb9 commit 17bc79f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/backdrop/RolesCommandsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class RolesCommandsTest extends TestCase {
*/
public function test_roles_command_works() {
$output = shell_exec('bee roles');
$this->assertRegExp('/| administrator | \'administer blocks\' +|/', (string) $output);
$this->assertStringContainsString("ADMINISTRATOR: 'administer blocks'", (string) $output);
}

/**
Expand Down

0 comments on commit 17bc79f

Please sign in to comment.