Skip to content

Commit 10382b1

Browse files
committed
fix test
1 parent 97f6561 commit 10382b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ViewTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ public function testCantViewUserKey(): void
4747

4848
public function testVideoAsPartialContent(): void
4949
{
50+
$response = $this->send('GET', '/test/' . $this->fileVideo->name, [], ['Range' => 'bytes=0-999']);
5051
ob_start();
51-
$response = $this->send('GET', '/test/' . $this->fileVideo->name);
5252
$this->assertEquals(file_get_contents(__DIR__ . '/files/video.mp4'), $response->streamedContent());
5353

5454
$this->assertResponseStatus(206);

0 commit comments

Comments
 (0)