Skip to content

Commit 2f85d78

Browse files
committed
test: fix content-type header assertion in SmokeTest
1 parent 2ccc83f commit 2f85d78

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/Feature/SmokeTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
];
2020

2121
foreach ($resources as $resource) {
22+
/** @noinspection PhpUndefinedMethodInspection */
2223
$this->get($resource::getUrl())
2324
->assertSuccessful()
2425
->assertSee('Filament');
@@ -62,10 +63,11 @@
6263
];
6364

6465
foreach ($resources as $resource) {
66+
/** @noinspection PhpUndefinedMethodInspection */
6567
$response = $this->get($resource::getUrl());
6668

6769
$response->assertSuccessful();
68-
$response->assertHeader('content-type', 'text/html; charset=UTF-8');
70+
$response->assertHeader('content-type', 'text/html; charset=utf-8');
6971
$response->assertSee('<!DOCTYPE html>', false);
7072
}
7173
});
@@ -79,6 +81,7 @@
7981
];
8082

8183
foreach ($resources as $resource) {
84+
/** @noinspection PhpUndefinedMethodInspection */
8285
$response = $this->get($resource::getUrl());
8386

8487
$response->assertSuccessful();

0 commit comments

Comments
 (0)