Skip to content

Commit 8cc5333

Browse files
committed
wip
2 parents 61b3464 + f52cd52 commit 8cc5333

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

tests/Actions/GetSolutionsForLatestThrowableActionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
use Spatie\LaravelErrorSolutions\Actions\GetSolutionsForLatestThrowableAction;
55
use Spatie\LaravelErrorSolutions\SpatieRenderer;
66

7-
beforeEach(function() {
7+
beforeEach(function () {
88
SpatieRenderer::$latestThrowable = null;
99
});
1010

tests/TestCase.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
namespace Spatie\LaravelErrorSolutions\Tests;
44

55
use Illuminate\Database\Eloquent\Factories\Factory;
6-
use Illuminate\Database\Eloquent\Model;
76
use Illuminate\Database\Schema\Blueprint;
87
use Illuminate\Foundation\Auth\User;
9-
use Illuminate\Support\Facades\Artisan;
108
use Illuminate\Support\Facades\Schema;
119
use Orchestra\Testbench\TestCase as Orchestra;
1210
use Spatie\LaravelErrorSolutions\LaravelErrorSolutionsServiceProvider;
@@ -36,13 +34,13 @@ public function getEnvironmentSetUp($app)
3634

3735
Schema::dropAllTables();
3836

39-
Schema::create('users', function(Blueprint $table) {
37+
Schema::create('users', function (Blueprint $table) {
4038
$table->id();
4139
$table->string('name');
4240
});
4341
}
4442

45-
function getThrowable(): Throwable
43+
public function getThrowable(): Throwable
4644
{
4745
try {
4846
User::unguard();

0 commit comments

Comments
 (0)