Skip to content

Commit d4eb022

Browse files
joepriestfreekmurze
authored andcommitted
fix typo in InvalidBackupJob exception (spatie#635)
* fix typo in InvalidBackupJob exception * update test to match InvalidBackupJob exception
1 parent 6ba9f20 commit d4eb022

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Exceptions/InvalidBackupJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public static function noDestinationsSpecified(): self
1313

1414
public static function destinationDoesNotExist(string $diskName): self
1515
{
16-
return new static("There is not backup destination with a disk named `{$diskName}`");
16+
return new static("There is no backup destination with a disk named `{$diskName}`");
1717
}
1818

1919
public static function noFilesToBeBackedUp(): self

tests/Integration/BackupCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public function it_will_fail_when_trying_to_backup_to_an_non_existing_diskname()
217217

218218
$this->assertEquals(1, $resultCode);
219219

220-
$this->seeInConsoleOutput('There is not backup destination with a disk named');
220+
$this->seeInConsoleOutput('There is no backup destination with a disk named');
221221

222222
$this->assertFileNotExistsOnDisk($this->expectedZipPath, 'local');
223223
$this->assertFileNotExistsOnDisk($this->expectedZipPath, 'secondLocal');

0 commit comments

Comments
 (0)