diff --git a/tests/TestCase/Controller/Users/UsersControllerTest.php b/tests/TestCase/Controller/Users/UsersControllerTest.php index 37dd73a..7ef6e4c 100644 --- a/tests/TestCase/Controller/Users/UsersControllerTest.php +++ b/tests/TestCase/Controller/Users/UsersControllerTest.php @@ -23,8 +23,8 @@ class UsersControllerTest extends TestCase $this->enableSecurityToken(); $this->post('/users/login', [ - 'username' => UsersFixture::ADMIN_USER, - 'password' => UsersFixture::ADMIN_PASSWORD, + 'username' => UsersFixture::USER_ADMIN_USERNAME, + 'password' => UsersFixture::USER_ADMIN_PASSWORD, ]); $this->assertSessionHasKey('authUser.uuid');