Skip to content

Commit

Permalink
Update json-schema exception message comparisons
Browse files Browse the repository at this point in the history
Fixes issues introduced with jsonrainbow/json-schema#170
  • Loading branch information
jessedc committed Aug 11, 2015
1 parent 836f311 commit 805d4da
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/PhpUnit/GuzzleAssertsTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function testAssertResponseBodyDoesNotMatch()
self::assertEquals(
<<<EOF
Failed asserting that [{"id":123456789}] is valid.
[0] the property name is required
[name] The property name is required
EOF
,
Expand Down Expand Up @@ -100,7 +100,7 @@ public function testAssertResponseHeaderDoesNotMatch()
self::assertEquals(
<<<EOF
Failed asserting that {"Content-Type":"application\/json"} is valid.
[] the property ETag is required
[ETag] The property ETag is required
EOF
,
Expand Down
2 changes: 1 addition & 1 deletion tests/PhpUnit/ResponseBodyConstraintTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function testInvalidSchema()
self::assertEquals(
<<<EOF
Failed asserting that [{"id":123456789}] is valid.
[0] the property name is required
[name] The property name is required
EOF
,
Expand Down
2 changes: 1 addition & 1 deletion tests/PhpUnit/ResponseHeadersConstraintTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function testInvalidHeaderType()
self::assertEquals(
<<<EOF
Failed asserting that {"Content-Type":"application\/json"} is valid.
[] the property ETag is required
[ETag] The property ETag is required
EOF
,
Expand Down

0 comments on commit 805d4da

Please sign in to comment.