Skip to content

Commit

Permalink
Merge commit '87bdf3eb7fb1220a31cbcf17db9cb5c37f7a7160' into 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Jan 22, 2025
2 parents c1569c2 + 87bdf3e commit 2a994ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public function testEditorPerms(AcceptanceTester $I) {

$I->amOnPage("/node/$id/delete");
$I->canSeeResponseCodeIs(200);
$I->canSee('This action cannot be undone');
$I->canSee('Are you sure you want to delete');

$I->amOnPage("/node/$id/edit");
$new_title = $this->faker->words(3, TRUE);
Expand Down Expand Up @@ -233,6 +233,8 @@ public function testEditorPerms(AcceptanceTester $I) {

/**
* Test thing.
*
* @group foobar
*/
public function testSiteManagerPerms(AcceptanceTester $I) {
$I->logInWithRole('site_manager');
Expand All @@ -247,7 +249,7 @@ public function testSiteManagerPerms(AcceptanceTester $I) {

$I->amOnPage("/node/$id/delete");
$I->canSeeResponseCodeIs(200);
$I->canSee('This action cannot be undone');
$I->canSee('Are you sure you want to delete');

$I->amOnPage("/node/$id/edit");
$new_title = $this->faker->words(3, TRUE);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function testEditorPerms(AcceptanceTester $I) {

$I->amOnPage("/node/$id/delete");
$I->canSeeResponseCodeIs(200);
$I->canSee('This action cannot be undone');
$I->canSee('Are you sure you want to delete');

$I->amOnPage("/node/$id/edit");
$new_title = $this->faker->words(3, TRUE);
Expand Down Expand Up @@ -128,7 +128,7 @@ public function testSiteManagerPerms(AcceptanceTester $I) {

$I->amOnPage("/node/$id/delete");
$I->canSeeResponseCodeIs(200);
$I->canSee('This action cannot be undone');
$I->canSee('Are you sure you want to delete');

$I->amOnPage("/node/$id/edit");
$new_title = $this->faker->words(3, TRUE);
Expand Down

0 comments on commit 2a994ad

Please sign in to comment.