From 51edce3c05d175349b0e185edfc30a4a3c4086ce Mon Sep 17 00:00:00 2001 From: DariusIII Date: Thu, 26 Jul 2018 10:59:19 +0200 Subject: [PATCH] Add missing tests --- Changelog | 1 + tests/CreatesApplication.php | 25 +++++++++++++++++++++++++ tests/Feature/ExampleTest.php | 21 +++++++++++++++++++++ tests/TestCase.php | 10 ++++++++++ tests/Unit/ExampleTest.php | 19 +++++++++++++++++++ 5 files changed, 76 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 diff --git a/Changelog b/Changelog index ae7fd29f1..b79548c95 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2018-07-26 DariusIII + * Chg: Add missing tests * Chg: Update releases date handling in RSS and API operations * Chg: Update tinymce to version 4.8.1 2018-07-25 DariusIII diff --git a/tests/CreatesApplication.php b/tests/CreatesApplication.php new file mode 100644 index 000000000..ff133fb4d --- /dev/null +++ b/tests/CreatesApplication.php @@ -0,0 +1,25 @@ +make(Kernel::class)->bootstrap(); + + Hash::driver('bcrypt')->setRounds(4); + + return $app; + } +} diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php new file mode 100644 index 000000000..f31e495ca --- /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 000000000..2932d4a69 --- /dev/null +++ b/tests/TestCase.php @@ -0,0 +1,10 @@ +assertTrue(true); + } +}