Skip to content

Commit

Permalink
UHF-10045: Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrsky committed Aug 26, 2024
1 parent 7f6511c commit 8afba6c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class UserCancelFormTest extends BrowserTestBase {
*/
protected static $modules = [
'user',
'helfi_platform_config',
'helfi_users',
];

/**
Expand Down Expand Up @@ -60,7 +60,7 @@ public function testUserCancelForm(): void {
$this->assertSession()->statusCodeEquals(200);
$this->assertSession()->elementExists('xpath', '//input[@value="user_cancel_block"]');
$this->assertSession()->elementExists('xpath', '//input[@value="user_cancel_block_unpublish"]');
$this->assertSession()->elementNotExists('xpath', '//input[@value="user_cancel_reassign"]');
$this->assertSession()->elementExists('xpath', '//input[@value="user_cancel_reassign"]');
$this->assertSession()->elementNotExists('xpath', '//input[@value="user_cancel_delete"]');

// Test that the editorUser cannot access the cancel page.
Expand Down

0 comments on commit 8afba6c

Please sign in to comment.