Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Nielsvanpach authored and github-actions[bot] committed Jul 4, 2024
1 parent 697038a commit daf4afe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Notifications/EventHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
use Illuminate\Support\Facades\Notification;
use Spatie\Backup\BackupDestination\BackupDestinationFactory;
use Spatie\Backup\Config\Config;
use Spatie\Backup\Config\NotificationMailConfig;
use Spatie\Backup\Events\BackupHasFailed;
use Spatie\Backup\Exceptions\InvalidConfig;
use Spatie\Backup\Notifications\Notifiable;
use Spatie\Backup\Notifications\Notifications\BackupHasFailedNotification;
use Spatie\Backup\Exceptions\InvalidConfig;
use Spatie\Backup\Config\NotificationMailConfig;

beforeEach(function () {
Notification::fake();
Expand Down Expand Up @@ -89,7 +89,7 @@
],
];

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

it('will throw an exception for invalid email in array', function () {
Expand All @@ -101,7 +101,7 @@
],
];

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

function fireBackupHasFailedEvent(): void
Expand Down

0 comments on commit daf4afe

Please sign in to comment.