Skip to content

Commit c978a4c

Browse files
committed
fix tests
1 parent d1f9890 commit c978a4c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/Http/Api/Commands/ApiEntityListEntityCommandControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ public function execute(array $data = []): array
430430
$response = $this
431431
->postJson(route('code16.sharp.api.list.command.entity', ['person', 'cmd']))
432432
->assertOk()
433-
->assertHeader('content-type', 'text/html; charset=UTF-8');
433+
->assertHeader('content-type', 'text/html; charset=utf-8');
434434

435435
expect($response->headers->get('content-disposition'))
436436
->toContain('stream.txt');

tests/Http/Api/Commands/ApiEntityListInstanceCommandControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ public function execute($instanceId, array $data = []): array
315315
$response = $this
316316
->postJson(route('code16.sharp.api.list.command.instance', ['person', 'instance_streamDownload', 1]))
317317
->assertOk()
318-
->assertHeader('content-type', 'text/html; charset=UTF-8');
318+
->assertHeader('content-type', 'text/html; charset=utf-8');
319319

320320
expect($response->headers->get('content-disposition'))
321321
->toContain('stream.txt');

tests/Http/ExceptionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,5 @@ public function getListData(): array
116116

117117
$this->getJson('/sharp/api/list/person')
118118
->assertStatus(500)
119-
->assertHeader('Content-Type', 'text/html; charset=UTF-8');
119+
->assertHeader('Content-Type', 'text/html; charset=utf-8');
120120
});

0 commit comments

Comments
 (0)