mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Fix ExportModelTest on PHP 8.1
This commit is contained in:
parent
216583fbe4
commit
22cbfe94ac
@ -63,7 +63,8 @@ class ExportModelTest extends TestCase
|
||||
$this->assertTrue($response->headers->has('Content-Type'), "Response is missing the Content-Type header!");
|
||||
$this->assertTrue(
|
||||
$response->headers->contains('Content-Type', 'application/csv')
|
||||
|| $response->headers->contains('Content-Type', 'text/plain'),
|
||||
|| $response->headers->contains('Content-Type', 'text/plain')
|
||||
|| $response->headers->contains('Content-Type', 'text/csv'),
|
||||
"Content-Type is not as expected, provided: " . $response->headers->get('Content-Type')
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user