diff --git a/tests/src/Functional/UserCancelFormTest.php b/modules/helfi_users/tests/src/Functional/UserCancelFormTest.php similarity index 95% rename from tests/src/Functional/UserCancelFormTest.php rename to modules/helfi_users/tests/src/Functional/UserCancelFormTest.php index 1aad023ac..ebc95b00b 100644 --- a/tests/src/Functional/UserCancelFormTest.php +++ b/modules/helfi_users/tests/src/Functional/UserCancelFormTest.php @@ -18,7 +18,7 @@ class UserCancelFormTest extends BrowserTestBase { */ protected static $modules = [ 'user', - 'helfi_platform_config', + 'helfi_users', ]; /** @@ -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.