From 59bb2de2a4cd919f4424b6909f55fd5cfbd0c258 Mon Sep 17 00:00:00 2001 From: KNaveenraj-ladybird Date: Tue, 12 Sep 2023 18:19:44 +0530 Subject: [PATCH] fix --- phpunit.xml.bak | 36 +++++++++++++++++++++++++++++++ tests/Feature/RouteTest.php | 23 ++++++++++++++++++++ tests/Unit/ArtisanCommandTest.php | 19 ++++++++++++++++ 3 files changed, 78 insertions(+) create mode 100755 phpunit.xml.bak create mode 100755 tests/Feature/RouteTest.php create mode 100644 tests/Unit/ArtisanCommandTest.php diff --git a/phpunit.xml.bak b/phpunit.xml.bak new file mode 100755 index 000000000..3f968c80e --- /dev/null +++ b/phpunit.xml.bak @@ -0,0 +1,36 @@ + + + + + ./tests/ + + + ./tests/unit + + + + + app/ + + + + + + + + + + + + + + + diff --git a/tests/Feature/RouteTest.php b/tests/Feature/RouteTest.php new file mode 100755 index 000000000..1f77bfb1e --- /dev/null +++ b/tests/Feature/RouteTest.php @@ -0,0 +1,23 @@ +get('/'); + + $response->assertStatus(200); + } + +} diff --git a/tests/Unit/ArtisanCommandTest.php b/tests/Unit/ArtisanCommandTest.php new file mode 100644 index 000000000..f169ed216 --- /dev/null +++ b/tests/Unit/ArtisanCommandTest.php @@ -0,0 +1,19 @@ +artisan('route:list') + ->assertExitCode(0); + } +}