Skip to content

Commit

Permalink
chore: set url in test to avoid err
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanorosanelli committed Jun 7, 2024
1 parent a5b565b commit d7e099a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/TestCase/Index/CollectionHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ public function testUploadStream(): void

$stream = new Stream();
$stream->set('uri', 'default://test.txt', ['guard' => false]);
$stream->set('url', '/test.txt', ['guard' => false]);
$stream->set('file_size', 1, ['guard' => false]);
$entity = $this->mockEntity('files', [
'index_updated' => null,
Expand Down
1 change: 1 addition & 0 deletions tests/TestCase/Job/Service/IndexFileServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public function testRun(): void

$stream = new Stream();
$stream->set('uri', 'default://test.txt', ['guard' => false]);
$stream->set('url', '/test.txt', ['guard' => false]);
$stream->set('file_size', 1, ['guard' => false]);
$file = $this->mockEntity('files', [
'index_updated' => null,
Expand Down

0 comments on commit d7e099a

Please sign in to comment.