feat: analyse import + all tests fixed
This commit is contained in:
parent
fbe9619224
commit
3170a7c60e
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user