Skip to content

Commit

Permalink
Merge commit '6593660dc19b81d9a3810b73ddc9dfe3da2d062a' into 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Jan 22, 2025
2 parents bad538d + 6593660 commit c1569c2
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 c1569c2

Please sign in to comment.