Skip to content

Commit

Permalink
Merge pull request #126 from peter279k/test_enhancement
Browse files Browse the repository at this point in the history
Using the assertSame and fix assertSame parameters
  • Loading branch information
driesvints authored Sep 3, 2020
2 parents d1cffc1 + cebb89f commit 6dfb730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/NewCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function test_it_can_scaffold_a_new_laravel_app()

$statusCode = $tester->execute(['name' => $scaffoldDirectoryName]);

$this->assertEquals($statusCode, 0);
$this->assertSame(0, $statusCode);
$this->assertDirectoryExists($scaffoldDirectory.'/vendor');
$this->assertFileExists($scaffoldDirectory.'/.env');
}
Expand Down

0 comments on commit 6dfb730

Please sign in to comment.