diff --git a/tests/ApiProblem/ApiProblemResponseTest.php b/tests/ApiProblem/ApiProblemResponseTest.php index b84728f..a425e07 100644 --- a/tests/ApiProblem/ApiProblemResponseTest.php +++ b/tests/ApiProblem/ApiProblemResponseTest.php @@ -17,9 +17,9 @@ public function testItWillCreateJsonResponse() $body = << -User with id 5 not found. Not Found 404 +User with id 5 not found. http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html XML; diff --git a/tests/ApiProblem/Presenter/JsonPresenterTest.php b/tests/ApiProblem/Presenter/JsonPresenterTest.php index b04c89c..af6e1cc 100644 --- a/tests/ApiProblem/Presenter/JsonPresenterTest.php +++ b/tests/ApiProblem/Presenter/JsonPresenterTest.php @@ -35,9 +35,9 @@ public function testItCanWriteXmlFromNestedArray() { $expected = << -User data is not valid. Input values do not match the requirements 500 +User data is not valid. user.invalid_data @@ -57,9 +57,9 @@ public function testItCanCastObjectToString() $expected = << -User data is not valid. Input values do not match the requirements 500 +User data is not valid. user.invalid_data