Skip to content

Commit

Permalink
Fix expected mime types
Browse files Browse the repository at this point in the history
  • Loading branch information
jsor committed Oct 11, 2014
1 parent dcd5c82 commit 5ee3cab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/Integration/KernelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function it_intercepts_not_acceptable_format()

$this->assertSame(406, $response->getStatusCode());
$this->assertSame('text/plain; charset=UTF-8', $response->headers->get('Content-Type'));
$this->assertSame('Format "html" is not supported. Supported mime types are: application/hal+json, application/json, application/hal+xml, application/xml.', $response->getContent());
$this->assertSame('Format "html" is not supported. Supported mime types are: application/hal+json, application/json, application/x-json, application/hal+xml, text/xml, application/xml, application/x-xml.', $response->getContent());
}

/** @test */
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/LaravelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function it_intercepts_not_acceptable_format()

$this->assertSame(406, $response->getStatusCode());
$this->assertSame('text/plain; charset=UTF-8', $response->headers->get('Content-Type'));
$this->assertSame('Format "html" is not supported. Supported mime types are: application/hal+json, application/json, application/hal+xml, application/xml.', $response->getContent());
$this->assertSame('Format "html" is not supported. Supported mime types are: application/hal+json, application/json, application/x-json, application/hal+xml, text/xml, application/xml, application/x-xml.', $response->getContent());
}

/** @test */
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/SilexTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function it_intercepts_not_acceptable_format()

$this->assertSame(406, $response->getStatusCode());
$this->assertSame('text/plain; charset=UTF-8', $response->headers->get('Content-Type'));
$this->assertSame('Format "html" is not supported. Supported mime types are: application/hal+json, application/json, application/hal+xml, application/xml.', $response->getContent());
$this->assertSame('Format "html" is not supported. Supported mime types are: application/hal+json, application/json, application/x-json, application/hal+xml, text/xml, application/xml, application/x-xml.', $response->getContent());
}

/** @test */
Expand Down

0 comments on commit 5ee3cab

Please sign in to comment.