From b981dc8715b36c83107de4c2868e3410a6faf457 Mon Sep 17 00:00:00 2001 From: Mateja Date: Wed, 7 Oct 2020 18:41:35 +0200 Subject: First commit --- tests/CreatesApplication.php | 22 ++++++++++++++++++++++ tests/Feature/ExampleTest.php | 21 +++++++++++++++++++++ tests/TestCase.php | 10 ++++++++++ tests/Unit/ExampleTest.php | 18 ++++++++++++++++++ 4 files changed, 71 insertions(+) create mode 100644 tests/CreatesApplication.php create mode 100644 tests/Feature/ExampleTest.php create mode 100644 tests/TestCase.php create mode 100644 tests/Unit/ExampleTest.php (limited to 'tests') diff --git a/tests/CreatesApplication.php b/tests/CreatesApplication.php new file mode 100644 index 0000000..547152f --- /dev/null +++ b/tests/CreatesApplication.php @@ -0,0 +1,22 @@ +make(Kernel::class)->bootstrap(); + + return $app; + } +} diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php new file mode 100644 index 0000000..cdb5111 --- /dev/null +++ b/tests/Feature/ExampleTest.php @@ -0,0 +1,21 @@ +get('/'); + + $response->assertStatus(200); + } +} diff --git a/tests/TestCase.php b/tests/TestCase.php new file mode 100644 index 0000000..2932d4a --- /dev/null +++ b/tests/TestCase.php @@ -0,0 +1,10 @@ +assertTrue(true); + } +} -- cgit v1.2.3