Skip to content

Commit

Permalink
rename tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cnizzardini committed Jan 15, 2022
1 parent 2e96847 commit 263ba07
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -8,7 +8,7 @@

class InstallerServiceTest extends TestCase
{
public function test_copy_file_with_source_exception(): void
public function test_copy_file_throws_install_exception_because_source_file_missing(): void
{
$file = '/tmp/' . md5((string)microtime(true));
$this->expectException(InstallException::class);
Expand All @@ -18,7 +18,7 @@ public function test_copy_file_with_source_exception(): void
(new InstallerService())->copyFile(['source' => $file]);
}

public function test_copy_file_with_destination_exception(): void
public function test_copy_file_throws_install_exception_because_destination_file_exists_already(): void
{
$this->expectException(InstallException::class);
$this->expectExceptionMessage(
Expand Down

0 comments on commit 263ba07

Please sign in to comment.