Fix createClient() depreciation

This commit is contained in:
Yassine Guedidi
2023-12-24 20:37:54 +01:00
parent a351b0aada
commit babe87c33b
6 changed files with 22 additions and 12 deletions

View File

@ -31,7 +31,7 @@ class ConfigRestControllerTest extends WallabagApiTestCase
public function testGetConfigWithoutAuthentication()
{
$client = static::createClient();
$client = $this->createUnauthorizedClient();
$client->request('GET', '/api/config.json');
$this->assertSame(401, $client->getResponse()->getStatusCode());