mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
Update expected json content type in unit test
This commit is contained in:
parent
67d10ec0cb
commit
7d27abf2b1
@ -35,7 +35,7 @@ class SubsiteXHRControllerTest extends FunctionalTest
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
$this->assertEquals(200, $result->getStatusCode());
|
$this->assertEquals(200, $result->getStatusCode());
|
||||||
$this->assertEquals('text/json', $result->getHeader('Content-Type'));
|
$this->assertEquals('application/json', $result->getHeader('Content-Type'));
|
||||||
|
|
||||||
$body = $result->getBody();
|
$body = $result->getBody();
|
||||||
$this->assertContains('Main site', $body);
|
$this->assertContains('Main site', $body);
|
||||||
|
Loading…
Reference in New Issue
Block a user