Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Test Failed
Push — we-need-more-tests ( a83b59...a2e6ae )
by Pedro
14:07 queued 12s
created
tests/Unit/CrudPanel/CrudPanelFiltersTest.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     {
49 49
         $this->crudPanel->setModel(User::class);
50 50
         $request = request()->create('/admin/users', 'GET', ['my_custom_filter' => 'foo']);
51
-        $request->setRouteResolver(function () use ($request) {
51
+        $request->setRouteResolver(function() use ($request) {
52 52
             return (new Route('GET', 'admin/users', ['UserCrudController', 'index']))->bind($request);
53 53
         });
54 54
         $this->crudPanel->setRequest($request);
@@ -64,10 +64,10 @@  discard block
 block discarded – undo
64 64
                     ->options(['test' => 'test'])
65 65
                     ->view('simple')
66 66
                     ->viewNamespace('crud::filters')
67
-                    ->ifActive(function () {
67
+                    ->ifActive(function() {
68 68
                         return true;
69 69
                     })
70
-                    ->ifInactive(function () {
70
+                    ->ifInactive(function() {
71 71
                         return true;
72 72
                     });
73 73
 
@@ -84,10 +84,10 @@  discard block
 block discarded – undo
84 84
     public function testWhenActiveAndWhenInactiveAliases()
85 85
     {
86 86
         $filter = CrudFilter::name('my_filter')
87
-                        ->whenActive(function () {
87
+                        ->whenActive(function() {
88 88
                             return true;
89 89
                         })
90
-                        ->whenInactive(function () {
90
+                        ->whenInactive(function() {
91 91
                             return true;
92 92
                         });
93 93
 
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 
99 99
     public function testWhenNotActiveAlias()
100 100
     {
101
-        $filter = CrudFilter::name('my_filter')->whenNotActive(function () {
101
+        $filter = CrudFilter::name('my_filter')->whenNotActive(function() {
102 102
             return true;
103 103
         });
104 104
         $this->assertCount(1, $this->crudPanel->filters());
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 
108 108
     public function testIfNotActiveAlias()
109 109
     {
110
-        $filter = CrudFilter::name('my_filter')->ifNotActive(function () {
110
+        $filter = CrudFilter::name('my_filter')->ifNotActive(function() {
111 111
             return true;
112 112
         });
113 113
         $this->assertCount(1, $this->crudPanel->filters());
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 
117 117
     public function testElseAlias()
118 118
     {
119
-        $filter = CrudFilter::name('my_filter')->else(function () {
119
+        $filter = CrudFilter::name('my_filter')->else(function() {
120 120
             return true;
121 121
         });
122 122
         $this->assertCount(1, $this->crudPanel->filters());
Please login to merge, or discard this patch.