From 00dc9820d48780364cd214537604b032d751a781 Mon Sep 17 00:00:00 2001 From: "kocsis.mate" Date: Wed, 21 Dec 2016 21:37:46 +0100 Subject: [PATCH] Updated tests --- tests/JsonApi/Response/JsonApiResponseTest.php | 8 ++++++-- tests/JsonApi/Schema/DocumentTest.php | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/JsonApi/Response/JsonApiResponseTest.php b/tests/JsonApi/Response/JsonApiResponseTest.php index dfa1653..9f3d082 100644 --- a/tests/JsonApi/Response/JsonApiResponseTest.php +++ b/tests/JsonApi/Response/JsonApiResponseTest.php @@ -79,7 +79,9 @@ public function isSuccessfulWithStatusCodesIsFalseWhenDocumentContainsErrors() [], [ "errors" => [ - ["status" => 400] + [ + "status" => "400" + ] ] ] ); @@ -97,7 +99,9 @@ public function isSuccessfulIsFalse() [], [ "errors" => [ - ["status" => 400] + [ + "status" => "400" + ] ] ] ); diff --git a/tests/JsonApi/Schema/DocumentTest.php b/tests/JsonApi/Schema/DocumentTest.php index 568303c..8af211e 100644 --- a/tests/JsonApi/Schema/DocumentTest.php +++ b/tests/JsonApi/Schema/DocumentTest.php @@ -53,7 +53,7 @@ public function toArray() ], "errors" => [ [ - "status" => 401 + "status" => "401" ] ], "included" => [ @@ -84,7 +84,7 @@ public function toArray() ], "errors" => [ [ - "status" => 401 + "status" => "401" ] ], "included" => [