Fix tests
This commit is contained in:
parent
a6c253b969
commit
e0376c78d1
@ -568,7 +568,7 @@ final class SyncLists extends BaseCommand {
|
|||||||
$return['data']['data'] = array_merge($prevData, $return['data']['data']);
|
$return['data']['data'] = array_merge($prevData, $return['data']['data']);
|
||||||
}
|
}
|
||||||
|
|
||||||
dump($return);
|
// dump($return);
|
||||||
|
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
@ -24,6 +24,7 @@ abstract class FormItemData extends AbstractType {
|
|||||||
public $private;
|
public $private;
|
||||||
public $progress;
|
public $progress;
|
||||||
public $rating;
|
public $rating;
|
||||||
|
public $ratingTwenty;
|
||||||
public $reconsumeCount;
|
public $reconsumeCount;
|
||||||
public $reconsuming;
|
public $reconsuming;
|
||||||
public $status;
|
public $status;
|
||||||
|
@ -95,7 +95,7 @@ class MangaListTransformerTest extends AnimeClientTestCase {
|
|||||||
'reconsuming' => false,
|
'reconsuming' => false,
|
||||||
'reconsumeCount' => 0,
|
'reconsumeCount' => 0,
|
||||||
'notes' => '',
|
'notes' => '',
|
||||||
'rating' => 4.5
|
'ratingTwenty' => 18,
|
||||||
])
|
])
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
'notes' => 'Very formulaic.',
|
'notes' => 'Very formulaic.',
|
||||||
'private' => false,
|
'private' => false,
|
||||||
'progress' => 38,
|
'progress' => 38,
|
||||||
'rating' => 4,
|
'ratingTwenty' => 16,
|
||||||
'reconsumeCount' => 0,
|
'reconsumeCount' => 0,
|
||||||
'reconsuming' => false,
|
'reconsuming' => false,
|
||||||
'status' => 'current',
|
'status' => 'current',
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
'notes' => 'Very formulaic.',
|
'notes' => 'Very formulaic.',
|
||||||
'private' => true,
|
'private' => true,
|
||||||
'progress' => 38,
|
'progress' => 38,
|
||||||
'rating' => 4,
|
'ratingTwenty' => 16,
|
||||||
'reconsumeCount' => 0,
|
'reconsumeCount' => 0,
|
||||||
'reconsuming' => true,
|
'reconsuming' => true,
|
||||||
'status' => 'current',
|
'status' => 'current',
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
"notes": null,
|
"notes": null,
|
||||||
"private": false,
|
"private": false,
|
||||||
"rating": null,
|
"rating": null,
|
||||||
|
"ratingTwenty": null,
|
||||||
"updatedAt": "2017-01-13T01:32:31.832Z"
|
"updatedAt": "2017-01-13T01:32:31.832Z"
|
||||||
},
|
},
|
||||||
"relationships": {
|
"relationships": {
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
"notes": "",
|
"notes": "",
|
||||||
"private": false,
|
"private": false,
|
||||||
"rating": "4.5",
|
"rating": "4.5",
|
||||||
|
"ratingTwenty": "18",
|
||||||
"updatedAt": "2017-01-09T17:51:16.691Z"
|
"updatedAt": "2017-01-09T17:51:16.691Z"
|
||||||
},
|
},
|
||||||
"relationships": {
|
"relationships": {
|
||||||
@ -85,6 +86,7 @@
|
|||||||
"notes": "",
|
"notes": "",
|
||||||
"private": false,
|
"private": false,
|
||||||
"rating": "3.5",
|
"rating": "3.5",
|
||||||
|
"ratingTwenty": "14",
|
||||||
"updatedAt": "2017-01-09T17:50:19.594Z"
|
"updatedAt": "2017-01-09T17:50:19.594Z"
|
||||||
},
|
},
|
||||||
"relationships": {
|
"relationships": {
|
||||||
@ -156,6 +158,7 @@
|
|||||||
"notes": "",
|
"notes": "",
|
||||||
"private": false,
|
"private": false,
|
||||||
"rating": "4.5",
|
"rating": "4.5",
|
||||||
|
"ratingTwenty": "18",
|
||||||
"updatedAt": "2016-04-07T17:10:13.022Z"
|
"updatedAt": "2016-04-07T17:10:13.022Z"
|
||||||
},
|
},
|
||||||
"relationships": {
|
"relationships": {
|
||||||
@ -227,6 +230,7 @@
|
|||||||
"notes": "",
|
"notes": "",
|
||||||
"private": false,
|
"private": false,
|
||||||
"rating": null,
|
"rating": null,
|
||||||
|
"ratingTwenty": null,
|
||||||
"updatedAt": "2016-03-08T15:45:45.818Z"
|
"updatedAt": "2016-03-08T15:45:45.818Z"
|
||||||
},
|
},
|
||||||
"relationships": {
|
"relationships": {
|
||||||
@ -298,6 +302,7 @@
|
|||||||
"notes": "",
|
"notes": "",
|
||||||
"private": false,
|
"private": false,
|
||||||
"rating": "4.0",
|
"rating": "4.0",
|
||||||
|
"ratingTwenty": "16",
|
||||||
"updatedAt": "2016-02-02T15:06:07.166Z"
|
"updatedAt": "2016-02-02T15:06:07.166Z"
|
||||||
},
|
},
|
||||||
"relationships": {
|
"relationships": {
|
||||||
|
Loading…
Reference in New Issue
Block a user