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 Jan 6, 2025
1 parent 490f0b5 commit 75ffdc2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/Commands/BackupCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
});

it('will fail when trying to backup a non existing database', function () {
//use an invalid db name to trigger failure
// use an invalid db name to trigger failure
Artisan::call('backup:run --only-files --only-db --db-name=wrongName');

$this->seeInConsoleOutput('Backup failed');
Expand Down Expand Up @@ -338,7 +338,7 @@
});

it('should omit the backup failed event with no notifications flag', function () {
//use an invalid dbname to trigger failure
// use an invalid dbname to trigger failure
$this->artisan('backup:run --only-db --db-name=wrongName --disable-notifications')->assertExitCode(1);

Event::assertNotDispatched(BackupHasFailed::class);
Expand Down
6 changes: 3 additions & 3 deletions tests/Config/ConfigTest.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

use Spatie\Backup\Config\Config;
use Spatie\Backup\Config\BackupConfig;
use Spatie\Backup\Config\NotificationsConfig;
use Spatie\Backup\Config\MonitoredBackupsConfig;
use Spatie\Backup\Config\CleanupConfig;
use Spatie\Backup\Config\Config;
use Spatie\Backup\Config\MonitoredBackupsConfig;
use Spatie\Backup\Config\NotificationsConfig;

beforeEach(function () {
config()->set('backup', []);
Expand Down
2 changes: 1 addition & 1 deletion tests/FileSelectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
'directory1/file2.txt',
'directory2',
'file',
'file1.txt', //it is kept because it is not in a directory /dir/file1.txt
'file1.txt', // it is kept because it is not in a directory /dir/file1.txt
'file1.txt.txt',
'file2.txt',
'file3.txt',
Expand Down

0 comments on commit 75ffdc2

Please sign in to comment.