mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2026-10-30 09:12:09 +00:00
Optimized Entities, Controllers and tests
This commit is contained in:
1 parent
69ea47facd
commit
cff5afe018
6 files changed
+13
-7
No files matched your search
@@ -32,7 +32,7 @@ class UserControllerTest extends WebTestCase
|
||||
public function testLogin(): void
|
||||
{
|
||||
$client = static::createClient();
|
||||
$client->request('GET', '/user/login');
|
||||
$client->request('GET', '/login');
|
||||
$this->assertEquals(200, $client->getResponse()->getStatusCode());
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ class UserTest extends TestCase
|
||||
public function setUp():void{
|
||||
$this->user = new User();
|
||||
$this->user->setPassword(self::PASSWORD);
|
||||
$this->user->setUsername(self::USERNAME);
|
||||
$this->user->setUsername(' '.self::USERNAME.' ');
|
||||
}
|
||||
|
||||
public function testUsername():void{
|
||||
|
||||
Reference in new issue
Block a user