@@ -22,7 +22,7 @@ protected function getJsonString($filename)
22
22
*/
23
23
public function testParseSimpleResource ()
24
24
{
25
- $ string = $ this ->getJsonString ('01_simple_resource.js ' );
25
+ $ string = $ this ->getJsonString ('01_simple_resource.json ' );
26
26
$ document = Helper::parse ($ string );
27
27
28
28
$ this ->assertInstanceOf ('Art4\JsonApiClient\Document ' , $ document );
@@ -50,7 +50,7 @@ public function testParseSimpleResource()
50
50
*/
51
51
public function testParseSimpleResourceIdentifier ()
52
52
{
53
- $ string = $ this ->getJsonString ('02_simple_resource_identifier.js ' );
53
+ $ string = $ this ->getJsonString ('02_simple_resource_identifier.json ' );
54
54
$ document = Helper::parse ($ string );
55
55
56
56
$ this ->assertInstanceOf ('Art4\JsonApiClient\Document ' , $ document );
@@ -74,7 +74,7 @@ public function testParseSimpleResourceIdentifier()
74
74
*/
75
75
public function testParseResourceObject ()
76
76
{
77
- $ string = $ this ->getJsonString ('03_resource_object.js ' );
77
+ $ string = $ this ->getJsonString ('03_resource_object.json ' );
78
78
$ document = Helper::parse ($ string );
79
79
80
80
$ this ->assertInstanceOf ('Art4\JsonApiClient\Document ' , $ document );
@@ -131,7 +131,7 @@ public function testParseResourceObject()
131
131
*/
132
132
public function testParseCompleteResourceObjectWithMultipleRelationships ()
133
133
{
134
- $ string = $ this ->getJsonString ('04_complete_document_with_multiple_relationships.js ' );
134
+ $ string = $ this ->getJsonString ('04_complete_document_with_multiple_relationships.json ' );
135
135
$ document = Helper::parse ($ string );
136
136
137
137
$ this ->assertInstanceOf ('Art4\JsonApiClient\Document ' , $ document );
0 commit comments