mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Optimized Entities, Controllers and tests
This commit is contained in:
@@ -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