From cebb89fee2525469023b640f081fc98461814f59 Mon Sep 17 00:00:00 2001 From: peter279k Date: Thu, 3 Sep 2020 11:39:29 +0800 Subject: [PATCH] Using the assertSame and fix assertSame parameters --- tests/NewCommandTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/NewCommandTest.php b/tests/NewCommandTest.php index 0163bc4f..7c12fbd5 100644 --- a/tests/NewCommandTest.php +++ b/tests/NewCommandTest.php @@ -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'); }