File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 4
4
use Spatie \LaravelErrorSolutions \Actions \GetSolutionsForLatestThrowableAction ;
5
5
use Spatie \LaravelErrorSolutions \SpatieRenderer ;
6
6
7
- beforeEach (function () {
7
+ beforeEach (function () {
8
8
SpatieRenderer::$ latestThrowable = null ;
9
9
});
10
10
Original file line number Diff line number Diff line change 3
3
namespace Spatie \LaravelErrorSolutions \Tests ;
4
4
5
5
use Illuminate \Database \Eloquent \Factories \Factory ;
6
- use Illuminate \Database \Eloquent \Model ;
7
6
use Illuminate \Database \Schema \Blueprint ;
8
7
use Illuminate \Foundation \Auth \User ;
9
- use Illuminate \Support \Facades \Artisan ;
10
8
use Illuminate \Support \Facades \Schema ;
11
9
use Orchestra \Testbench \TestCase as Orchestra ;
12
10
use Spatie \LaravelErrorSolutions \LaravelErrorSolutionsServiceProvider ;
@@ -36,13 +34,13 @@ public function getEnvironmentSetUp($app)
36
34
37
35
Schema::dropAllTables ();
38
36
39
- Schema::create ('users ' , function (Blueprint $ table ) {
37
+ Schema::create ('users ' , function (Blueprint $ table ) {
40
38
$ table ->id ();
41
39
$ table ->string ('name ' );
42
40
});
43
41
}
44
42
45
- function getThrowable (): Throwable
43
+ public function getThrowable (): Throwable
46
44
{
47
45
try {
48
46
User::unguard ();
You can’t perform that action at this time.
0 commit comments