Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
SethSharp committed Jan 25, 2024
1 parent 0c651f9 commit 537957a
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .php-cs-fixer.cache

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,11 @@

namespace App\Http\Controllers\Auth\Profile;

use App\Http\Controllers\Controller;
use Inertia\Inertia;
use Inertia\Response;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Auth;
use Illuminate\Http\RedirectResponse;
use Illuminate\Support\Facades\Redirect;
use App\Http\Requests\ProfileUpdateRequest;
use Illuminate\Contracts\Auth\MustVerifyEmail;

class DeleteProfileController extends Controller
{
Expand Down
6 changes: 1 addition & 5 deletions app/Http/Controllers/Auth/Profile/EditProfileController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,10 @@

namespace App\Http\Controllers\Auth\Profile;

use App\Http\Controllers\Controller;
use Inertia\Inertia;
use Inertia\Response;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Http\RedirectResponse;
use Illuminate\Support\Facades\Redirect;
use App\Http\Requests\ProfileUpdateRequest;
use App\Http\Controllers\Controller;
use Illuminate\Contracts\Auth\MustVerifyEmail;

class EditProfileController extends Controller
Expand Down
5 changes: 0 additions & 5 deletions app/Http/Controllers/Auth/Profile/UpdateProfileController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,9 @@
namespace App\Http\Controllers\Auth\Profile;

use App\Http\Controllers\Controller;
use Inertia\Inertia;
use Inertia\Response;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Http\RedirectResponse;
use Illuminate\Support\Facades\Redirect;
use App\Http\Requests\ProfileUpdateRequest;
use Illuminate\Contracts\Auth\MustVerifyEmail;

class UpdateProfileController extends Controller
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Dashboard/ShowHomeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace App\Http\Controllers\Dashboard;

use App\Http\Controllers\Controller;
use Inertia\Inertia;
use Inertia\Response;
use App\Http\Controllers\Controller;

class ShowHomeController extends Controller
{
Expand Down
7 changes: 2 additions & 5 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@
colors="true"
>
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
<testsuite name="Http">
<directory>./tests/Http</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
Expand Down
1 change: 0 additions & 1 deletion routes/blog.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

use Illuminate\Support\Facades\Route;


Route::middleware(['auth', 'verified'])->group(function () {

Route::get('/home', \App\Http\Controllers\Dashboard\ShowHomeController::class)->name('home');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<?php

namespace Tests\Feature\Auth;
namespace Tests\Http\Auth;

use Tests\TestCase;
use App\Domain\Iam\Models\User;
use App\Providers\RouteServiceProvider;
use Illuminate\Foundation\Testing\RefreshDatabase;

class AuthenticationTest extends TestCase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
<?php

namespace Tests\Feature\Auth;
namespace Tests\Http\Auth;

use Tests\TestCase;
use App\Domain\Iam\Models\User;
use Illuminate\Support\Facades\URL;
use Illuminate\Auth\Events\Verified;
use Illuminate\Support\Facades\Event;
use App\Providers\RouteServiceProvider;
use Illuminate\Foundation\Testing\RefreshDatabase;

class EmailVerificationTest extends TestCase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<?php

namespace Tests\Feature\Auth;
namespace Tests\Http\Auth;

use Tests\TestCase;
use App\Domain\Iam\Models\User;
use Illuminate\Foundation\Testing\RefreshDatabase;

class PasswordConfirmationTest extends TestCase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<?php

namespace Tests\Feature\Auth;
namespace Tests\Http\Auth;

use Tests\TestCase;
use App\Domain\Iam\Models\User;
use Illuminate\Support\Facades\Notification;
use Illuminate\Auth\Notifications\ResetPassword;
use Illuminate\Foundation\Testing\RefreshDatabase;

class PasswordResetTest extends TestCase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<?php

namespace Tests\Feature\Auth;
namespace Tests\Http\Auth;

use Tests\TestCase;
use App\Domain\Iam\Models\User;
use Illuminate\Support\Facades\Hash;
use Illuminate\Foundation\Testing\RefreshDatabase;

class PasswordUpdateTest extends TestCase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<?php

namespace Auth\Profile;
namespace Tests\Http\Auth\Profile;

use App\Domain\Iam\Models\User;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
use App\Domain\Iam\Models\User;

class ProfileTest extends TestCase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<?php

namespace Tests\Feature\Auth;
namespace Tests\Http\Auth;

use Tests\TestCase;
use App\Providers\RouteServiceProvider;
use Illuminate\Foundation\Testing\RefreshDatabase;

class RegistrationTest extends TestCase
{
Expand Down

0 comments on commit 537957a

Please sign in to comment.