Skip to content

Commit daf4afe

Browse files
Nielsvanpachgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 697038a commit daf4afe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/Notifications/EventHandlerTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
use Illuminate\Support\Facades\Notification;
44
use Spatie\Backup\BackupDestination\BackupDestinationFactory;
55
use Spatie\Backup\Config\Config;
6+
use Spatie\Backup\Config\NotificationMailConfig;
67
use Spatie\Backup\Events\BackupHasFailed;
8+
use Spatie\Backup\Exceptions\InvalidConfig;
79
use Spatie\Backup\Notifications\Notifiable;
810
use Spatie\Backup\Notifications\Notifications\BackupHasFailedNotification;
9-
use Spatie\Backup\Exceptions\InvalidConfig;
10-
use Spatie\Backup\Config\NotificationMailConfig;
1111

1212
beforeEach(function () {
1313
Notification::fake();
@@ -89,7 +89,7 @@
8989
],
9090
];
9191

92-
expect(fn() => NotificationMailConfig::fromArray($data))->toThrow(InvalidConfig::class);
92+
expect(fn () => NotificationMailConfig::fromArray($data))->toThrow(InvalidConfig::class);
9393
});
9494

9595
it('will throw an exception for invalid email in array', function () {
@@ -101,7 +101,7 @@
101101
],
102102
];
103103

104-
expect(fn() => NotificationMailConfig::fromArray($data))->toThrow(InvalidConfig::class);
104+
expect(fn () => NotificationMailConfig::fromArray($data))->toThrow(InvalidConfig::class);
105105
});
106106

107107
function fireBackupHasFailedEvent(): void

0 commit comments

Comments
 (0)