feat: Reader beginning
This commit is contained in:
parent
e90c0a140e
commit
55945adc53
@@ -23,7 +23,7 @@ class ScrapeChapterTest extends AbstractApiTestCase
|
||||
{
|
||||
// Given
|
||||
$payload = [
|
||||
'chapterId' => 'chapter-123',
|
||||
'chapterNumber' => 'chapter-123',
|
||||
'sourceId' => 'source-456',
|
||||
'mangaId' => 'manga-789',
|
||||
];
|
||||
@@ -49,7 +49,7 @@ class ScrapeChapterTest extends AbstractApiTestCase
|
||||
{
|
||||
// Given
|
||||
$payload = [
|
||||
'chapterId' => '',
|
||||
'chapterNumber' => '',
|
||||
'sourceId' => 'source-456',
|
||||
'mangaId' => 'manga-789',
|
||||
];
|
||||
@@ -65,7 +65,7 @@ class ScrapeChapterTest extends AbstractApiTestCase
|
||||
$this->assertJsonContains([
|
||||
'violations' => [
|
||||
[
|
||||
'propertyPath' => 'chapterId',
|
||||
'propertyPath' => 'chapterNumber',
|
||||
'message' => 'This value should not be blank.',
|
||||
],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user