Skip to content

Commit 6dfb730

Browse files
authored
Merge pull request #126 from peter279k/test_enhancement
Using the assertSame and fix assertSame parameters
2 parents d1cffc1 + cebb89f commit 6dfb730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/NewCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function test_it_can_scaffold_a_new_laravel_app()
2323

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

26-
$this->assertEquals($statusCode, 0);
26+
$this->assertSame(0, $statusCode);
2727
$this->assertDirectoryExists($scaffoldDirectory.'/vendor');
2828
$this->assertFileExists($scaffoldDirectory.'/.env');
2929
}

0 commit comments

Comments
 (0)