feat: analyse import + all tests fixed

This commit is contained in:
ext.jeremy.guillot@maxicoffee.domains
2025-10-15 16:14:15 +02:00
parent fbe9619224
commit 3170a7c60e
74 changed files with 4318 additions and 183 deletions

View File

@@ -27,7 +27,7 @@ class DownloadVolumeTest extends AbstractApiTestCase
'manga' => $manga,
'volume' => 1,
'visible' => true,
'cbzPath' => '/app/tests/Shared/Files/test-chapter.cbz'
'cbzPath' => __DIR__ . '/../../Shared/Files/test-chapter.cbz'
]);
$mangaId = $manga->getId();
@@ -108,7 +108,7 @@ class DownloadVolumeTest extends AbstractApiTestCase
'volume' => 1,
'number' => 1.0,
'visible' => true,
'cbzPath' => '/app/tests/Shared/Files/test-chapter.cbz'
'cbzPath' => __DIR__ . '/../../Shared/Files/test-chapter.cbz'
]);
ChapterFactory::createOne([
@@ -116,7 +116,7 @@ class DownloadVolumeTest extends AbstractApiTestCase
'volume' => 1,
'number' => 2.0,
'visible' => false, // Soft deleted
'cbzPath' => '/app/tests/Shared/Files/test-chapter.cbz'
'cbzPath' => __DIR__ . '/../../Shared/Files/test-chapter.cbz'
]);
ChapterFactory::createOne([
@@ -132,7 +132,7 @@ class DownloadVolumeTest extends AbstractApiTestCase
'volume' => 1,
'number' => 4.0,
'visible' => true,
'cbzPath' => '/app/tests/Shared/Files/test-chapter.cbz'
'cbzPath' => __DIR__ . '/../../Shared/Files/test-chapter.cbz'
]);
$mangaId = $manga->getId();