File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 5
5
use Collective \Html \FormFacade ;
6
6
use Collective \Html \HtmlFacade ;
7
7
use Collective \Html \HtmlServiceProvider ;
8
+ use Throwable ;
8
9
use Exception ;
9
10
use Illuminate \Contracts \Debug \ExceptionHandler ;
10
11
use Illuminate \Support \Facades \Auth ;
@@ -45,6 +46,16 @@ public function setUp(): void
45
46
Totem::auth ($ auth );
46
47
}
47
48
49
+ protected function getEnvironmentSetUp ($ app )
50
+ {
51
+ $ app ['config ' ]->set ('database.default ' , 'testing ' );
52
+ $ app ['config ' ]->set ('database.connections.testing ' , [
53
+ 'driver ' => 'sqlite ' ,
54
+ 'database ' => ':memory: ' ,
55
+ 'prefix ' => '' ,
56
+ ]);
57
+ }
58
+
48
59
protected function getPackageAliases ($ app )
49
60
{
50
61
return [
@@ -71,11 +82,11 @@ public function __construct()
71
82
{
72
83
}
73
84
74
- public function report (Exception $ e )
85
+ public function report (Throwable $ e )
75
86
{
76
87
}
77
88
78
- public function render ($ request , Exception $ e )
89
+ public function render ($ request , Throwable $ e )
79
90
{
80
91
throw $ e ;
81
92
}
You can’t perform that action at this time.
0 commit comments