Skip to content

Commit

Permalink
use updated layout paths
Browse files Browse the repository at this point in the history
  • Loading branch information
dcblogdev committed May 31, 2024
1 parent aba6587 commit 97cd1b2
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 25 deletions.
4 changes: 2 additions & 2 deletions resources/views/auth/confirm-password.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@section('title', __('Confirm Password'))

<x-guest-layout>
<x-layouts.guest>
<x-auth-card>

<div class="mb-4 text-sm text-gray-600 dark:text-gray-400">
Expand All @@ -15,4 +15,4 @@
</x-form>

</x-auth-card>
</x-guest-layout>
</x-layouts.guest>
4 changes: 2 additions & 2 deletions resources/views/auth/forgot-password.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@section('title', __('Forgot Password'))

<x-guest-layout>
<x-layouts.guest>
<x-auth-card>

<div class="my-4 text-sm text-gray-600 dark:text-gray-400">
Expand All @@ -15,4 +15,4 @@
</x-form>

</x-auth-card>
</x-guest-layout>
</x-layouts.guest>
4 changes: 2 additions & 2 deletions resources/views/auth/login.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@section('title', __('Login'))

<x-guest-layout>
<x-layouts.guest>
<x-auth-card>

<x-form action="{{ route('login') }}">
Expand All @@ -24,4 +24,4 @@
</x-form>

</x-auth-card>
</x-guest-layout>
</x-layouts.guest>
4 changes: 2 additions & 2 deletions resources/views/auth/register.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@section('title', __('Register'))

<x-guest-layout>
<x-layouts.guest>
<x-auth-card>

@include('errors.messages')
Expand All @@ -19,4 +19,4 @@
</x-form>

</x-auth-card>
</x-guest-layout>
</x-layouts.guest>
4 changes: 2 additions & 2 deletions resources/views/auth/reset-password.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@section('title', __('Reset Password'))

<x-guest-layout>
<x-layouts.guest>
<x-auth-card>

<x-form action="{{ route('password.store') }}">
Expand All @@ -16,4 +16,4 @@
</x-form>

</x-auth-card>
</x-guest-layout>
</x-layouts.guest>
4 changes: 2 additions & 2 deletions resources/views/auth/twofa.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@section('title', __('2FA'))

<x-guest-layout>
<x-layouts.guest>
<x-auth-card>

<p>{{ __('Please open your authenticator mobile app and enter the code below') }}.</p>
Expand All @@ -18,4 +18,4 @@
</x-form>

</x-auth-card>
</x-guest-layout>
</x-layouts.guest>
4 changes: 2 additions & 2 deletions resources/views/auth/twofasetup.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@section('title', '2FA')

<x-guest-layout>
<x-layouts.guest>
<x-auth-card>
<p>{{ __('Please open your authenticator mobile app and enter the code below') }}.</p>

Expand All @@ -24,4 +24,4 @@
</x-form>

</x-auth-card>
</x-guest-layout>
</x-layouts.guest>
4 changes: 2 additions & 2 deletions resources/views/auth/verify-email.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@section('title', __('Verify Email'))

<x-guest-layout>
<x-layouts.guest>
<x-auth-card>

<div class="mb-4 text-sm text-gray-600 dark:text-gray-400">
Expand All @@ -24,4 +24,4 @@
</div>

</x-auth-card>
</x-guest-layout>
</x-layouts.guest>
4 changes: 2 additions & 2 deletions resources/views/welcome.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<x-front-layout>
<x-layouts.front>
<main class="mx-auto max-w-screen-xl px-4 sm:mt-12 sm:px-6 md:mt-15 mb-10">
<div class="text-center">

Expand All @@ -9,4 +9,4 @@
</div>
</main>

</x-front-layout>
</x-layouts.front>
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
use function Pest\Laravel\put;

beforeEach(function () {
$this->token = Str::random(32);
$this->ownerUser = User::factory()->create();
test()->token = Str::random(32);
test()->ownerUser = User::factory()->create();
});

test('can see join page', function () {
Expand All @@ -27,10 +27,6 @@
get(route('join', $this->token))->assertOk();
});

test('cannot see join page with invalid token', function () {
get(route('join', $this->token))->assertNotFound();
});

test('cannot see join page when logged in', function () {
$this->authenticate();

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/resources/views/components/TabTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

test('can see tab component', function () {
test()->blade('<x-tab name="sections"></x-tab>')->assertSee('sections');
test()->blade('<x-tabs name="sections"></x-tabs>')->assertSee('sections');
});

test('can see tab header', function () {
Expand Down

0 comments on commit 97cd1b2

Please sign in to comment.