chore: update dependencies for Laravel 9 (#6098)

This commit is contained in:
Alexis Saettler
2022-08-12 18:42:35 +02:00
committed by GitHub
parent 6a7f49fd90
commit 78cd01b2b5
78 changed files with 1889 additions and 2286 deletions
+3 -16
View File
@@ -150,7 +150,9 @@ END:VCARD
/** @test */
public function it_throws_an_exception_if_file_doesnt_exist()
{
Storage::fake('public');
Storage::fake('public', [
'throw' => true,
]);
$importJob = factory(ImportJob::class)->create([
'filename' => 'testfile.vcf',
]);
@@ -181,21 +183,6 @@ END:VCARD
Storage::disk('public')->assertMissing($importJob->filename);
}
/** @test */
public function it_throws_an_exception_if_file_cant_be_deleted()
{
Storage::fake('public');
$importJob = factory(ImportJob::class)->create([
'filename' => 'testfile.vcf',
]);
$this->invokePrivateMethod($importJob, 'deletePhysicalFile');
$this->assertEquals(
trans('settings.import_vcard_file_not_found'),
$importJob->failed_reason
);
}
/** @test */
public function it_calculates_how_many_entries_there_are_and_populate_the_entries_array()
{