feat: ajout d'une route GetMangaByIdHandler.php et fix de la SearchBar.vue
This commit is contained in:
parent
ed0a075a6c
commit
d9e935f7de
@@ -14,7 +14,7 @@ class GetMangaTest extends AbstractApiTestCase
|
||||
{
|
||||
// When
|
||||
$client = static::createClient();
|
||||
$response = $client->request('GET', '/api/mangas/999');
|
||||
$response = $client->request('GET', '/api/mangas/by-id/999');
|
||||
|
||||
// Then
|
||||
$this->assertResponseStatusCodeSame(404);
|
||||
@@ -42,7 +42,7 @@ class GetMangaTest extends AbstractApiTestCase
|
||||
|
||||
// When
|
||||
$client = static::createClient();
|
||||
$response = $client->request('GET', '/api/mangas/' . $manga->getId());
|
||||
$response = $client->request('GET', '/api/mangas/by-id/' . $manga->getId());
|
||||
|
||||
// Then
|
||||
$this->assertResponseIsSuccessful();
|
||||
|
||||
Reference in New Issue
Block a user