Skip to content

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kocsismate committed Dec 21, 2016
1 parent f279212 commit 00dc982
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions tests/JsonApi/Response/JsonApiResponseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ public function isSuccessfulWithStatusCodesIsFalseWhenDocumentContainsErrors()
[],
[
"errors" => [
["status" => 400]
[
"status" => "400"
]
]
]
);
Expand All @@ -97,7 +99,9 @@ public function isSuccessfulIsFalse()
[],
[
"errors" => [
["status" => 400]
[
"status" => "400"
]
]
]
);
Expand Down
4 changes: 2 additions & 2 deletions tests/JsonApi/Schema/DocumentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function toArray()
],
"errors" => [
[
"status" => 401
"status" => "401"
]
],
"included" => [
Expand Down Expand Up @@ -84,7 +84,7 @@ public function toArray()
],
"errors" => [
[
"status" => 401
"status" => "401"
]
],
"included" => [
Expand Down

0 comments on commit 00dc982

Please sign in to comment.