Skip to content

Commit fd7cea6

Browse files
committed
wip
1 parent 64f3aa1 commit fd7cea6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

tests/CsvImporterTest.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,15 @@
2323
});
2424

2525
it('renders import CSV component with model and file', function () {
26+
$path = __DIR__ . '/stubs/customers.csv';
2627
$model = Customer::class;
2728

29+
chmod($path, 0755);
30+
2831
$file = UploadedFile::fake()
2932
->createWithContent(
3033
'customers.csv',
31-
file_get_contents('stubs/customers.csv', true)
34+
$path
3235
);
3336

3437
livewire(CsvImporter::class, [

tests/stubs/customers.csv

100644100755
File mode changed.

0 commit comments

Comments
 (0)