diff --git a/resources/views/components/setup/config-notification.blade.php b/resources/views/components/setup/config-notification.blade.php new file mode 100644 index 0000000..d9421f9 --- /dev/null +++ b/resources/views/components/setup/config-notification.blade.php @@ -0,0 +1,5 @@ +
The background image will be positioned behind the background color element.
+Choose a nice background image to use as your authentication background.
If you use a background image you can specify a color overlay here.
You'll want to set the opacity to less than 100% if you include an image.
+ +The opacity of the image overlay color. Set to 0 for no overlay
Welcome to your authentication setup. Below you will find sections to help you configure and customize the auth in your application.
diff --git a/tests/Datasets/Urls.php b/tests/Datasets/Urls.php new file mode 100644 index 0000000..b770df8 --- /dev/null +++ b/tests/Datasets/Urls.php @@ -0,0 +1,10 @@ +get('/'); - - $response->assertStatus(200); -}); - -test('that the login route at /auth/login returns a successful response', function () { - $response = $this->get('/auth/login'); - - $response->assertStatus(200); -}); diff --git a/tests/Feature/UrlTest.php b/tests/Feature/UrlTest.php new file mode 100644 index 0000000..d9139e5 --- /dev/null +++ b/tests/Feature/UrlTest.php @@ -0,0 +1,17 @@ +get($url)->assertOK(); +})->with('urls'); diff --git a/tests/Pest.php b/tests/Pest.php index 50ab1e4..2df40e4 100644 --- a/tests/Pest.php +++ b/tests/Pest.php @@ -12,7 +12,7 @@ */ uses( - Tests\TestCase::class, + Tests\TestCase::class // Illuminate\Foundation\Testing\RefreshDatabase::class, )->in('Feature'); diff --git a/tests/TestCase.php b/tests/TestCase.php index fe1ffc2..76a2be6 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -3,8 +3,14 @@ namespace Tests; use Illuminate\Foundation\Testing\TestCase as BaseTestCase; +use Illuminate\Support\Facades\Artisan; abstract class TestCase extends BaseTestCase { - // + protected function setUp(): void + { + parent::setUp(); + Artisan::call('view:clear'); + + } }