feat: finalisation de la Sidebar.vue

This commit is contained in:
ext.jeremy.guillot@maxicoffee.domains
2025-03-26 18:29:05 +01:00
parent d9e935f7de
commit 53365df456
9 changed files with 491 additions and 305 deletions

View File

@@ -27,17 +27,17 @@ class GetMangaBySlugHandlerTest extends TestCase
{
// Arrange
$manga = new Manga(
new MangaId('1'),
new MangaTitle('One Piece'),
new MangaSlug('one-piece'),
'Description',
'Eiichiro Oda',
1997,
['Action', 'Adventure'],
'ongoing',
null,
'https://example.com/image.jpg',
4.5
id: new MangaId('1'),
title: new MangaTitle('One Piece'),
slug: new MangaSlug('one-piece'),
description: 'Description',
author: 'Eiichiro Oda',
publicationYear: 1997,
genres: ['Action', 'Adventure'],
status: 'ongoing',
externalId: null,
imageUrl: 'https://example.com/image.jpg',
rating: 4.5
);
$this->repository->save($manga);
@@ -71,4 +71,4 @@ class GetMangaBySlugHandlerTest extends TestCase
{
$this->repository->clear();
}
}
}