Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
3 changed files with 8 additions and 14 deletions
Showing only changes of commit 26aab3eef6 - Show all commits

View File

@ -40,9 +40,7 @@ class AnimeTransformerTest extends AnimeClientTestCase {
public function testTransform()
{
$expected = $this->afterTransform;
$actual = $this->transformer->transform($this->beforeTransform);
$this->assertMatchesSnapshot($actual);
}
}

View File

@ -21,10 +21,6 @@
'url' => 'https://kitsu.io/anime/attack-on-titan',
'genres' =>
array (
0 => 'Action',
1 => 'Drama',
2 => 'Fantasy',
3 => 'Super Power',
),
'streaming_links' =>
array (

View File

@ -65,9 +65,9 @@
"included": [
{
"id": "23",
"type": "genres",
"type": "categories",
"links": {
"self": "https:\/\/kitsu.io\/api\/edge\/genres\/23"
"self": "https:\/\/kitsu.io\/api\/edge\/categories\/23"
},
"attributes": {
"name": "Super Power",
@ -77,9 +77,9 @@
},
{
"id": "11",
"type": "genres",
"type": "categories",
"links": {
"self": "https:\/\/kitsu.io\/api\/edge\/genres\/11"
"self": "https:\/\/kitsu.io\/api\/edge\/categories\/11"
},
"attributes": {
"name": "Fantasy",
@ -89,9 +89,9 @@
},
{
"id": "4",
"type": "genres",
"type": "categories",
"links": {
"self": "https:\/\/kitsu.io\/api\/edge\/genres\/4"
"self": "https:\/\/kitsu.io\/api\/edge\/categories\/4"
},
"attributes": {
"name": "Drama",
@ -101,9 +101,9 @@
},
{
"id": "1",
"type": "genres",
"type": "categories",
"links": {
"self": "https:\/\/kitsu.io\/api\/edge\/genres\/1"
"self": "https:\/\/kitsu.io\/api\/edge\/categories\/1"
},
"attributes": {
"name": "Action",