Fix tests

This commit is contained in:
Timothy Warren 2018-09-26 22:43:04 -04:00
parent 2d3295757d
commit 9821c17de3
7 changed files with 11 additions and 4 deletions

View File

@ -568,7 +568,7 @@ final class SyncLists extends BaseCommand {
$return['data']['data'] = array_merge($prevData, $return['data']['data']);
}
dump($return);
// dump($return);
return $return;
}

View File

@ -24,6 +24,7 @@ abstract class FormItemData extends AbstractType {
public $private;
public $progress;
public $rating;
public $ratingTwenty;
public $reconsumeCount;
public $reconsuming;
public $status;

View File

@ -95,7 +95,7 @@ class MangaListTransformerTest extends AnimeClientTestCase {
'reconsuming' => false,
'reconsumeCount' => 0,
'notes' => '',
'rating' => 4.5
'ratingTwenty' => 18,
])
]);

View File

@ -7,7 +7,7 @@
'notes' => 'Very formulaic.',
'private' => false,
'progress' => 38,
'rating' => 4,
'ratingTwenty' => 16,
'reconsumeCount' => 0,
'reconsuming' => false,
'status' => 'current',

View File

@ -7,7 +7,7 @@
'notes' => 'Very formulaic.',
'private' => true,
'progress' => 38,
'rating' => 4,
'ratingTwenty' => 16,
'reconsumeCount' => 0,
'reconsuming' => true,
'status' => 'current',

View File

@ -12,6 +12,7 @@
"notes": null,
"private": false,
"rating": null,
"ratingTwenty": null,
"updatedAt": "2017-01-13T01:32:31.832Z"
},
"relationships": {

View File

@ -14,6 +14,7 @@
"notes": "",
"private": false,
"rating": "4.5",
"ratingTwenty": "18",
"updatedAt": "2017-01-09T17:51:16.691Z"
},
"relationships": {
@ -85,6 +86,7 @@
"notes": "",
"private": false,
"rating": "3.5",
"ratingTwenty": "14",
"updatedAt": "2017-01-09T17:50:19.594Z"
},
"relationships": {
@ -156,6 +158,7 @@
"notes": "",
"private": false,
"rating": "4.5",
"ratingTwenty": "18",
"updatedAt": "2016-04-07T17:10:13.022Z"
},
"relationships": {
@ -227,6 +230,7 @@
"notes": "",
"private": false,
"rating": null,
"ratingTwenty": null,
"updatedAt": "2016-03-08T15:45:45.818Z"
},
"relationships": {
@ -298,6 +302,7 @@
"notes": "",
"private": false,
"rating": "4.0",
"ratingTwenty": "16",
"updatedAt": "2016-02-02T15:06:07.166Z"
},
"relationships": {