Update expected json content type in unit test

This commit is contained in:
Robbie Averill 2019-06-25 16:05:38 +12:00
parent 67d10ec0cb
commit 7d27abf2b1

View File

@ -35,7 +35,7 @@ class SubsiteXHRControllerTest extends FunctionalTest
]);
$this->assertEquals(200, $result->getStatusCode());
$this->assertEquals('text/json', $result->getHeader('Content-Type'));
$this->assertEquals('application/json', $result->getHeader('Content-Type'));
$body = $result->getBody();
$this->assertContains('Main site', $body);