]> BookStack Code Mirror - bookstack/blobdiff - tests/Auth/OidcTest.php
Fixed local_secure_restricted preventing attachment uploads
[bookstack] / tests / Auth / OidcTest.php
index 4215f6a541d5c03739626551d875592c54c2cfdc..8c6e0635ff6949c8e16b198a283573d73841fea3 100644 (file)
@@ -374,7 +374,7 @@ class OidcTest extends TestCase
         $resp = $this->runLogin([
             'email'  => '[email protected]',
             'sub'    => 'benny1010101',
-            'groups' => ['Wizards', 'Zookeepers']
+            'groups' => ['Wizards', 'Zookeepers'],
         ]);
         $resp->assertRedirect('/');
 
@@ -398,13 +398,13 @@ class OidcTest extends TestCase
         $resp = $this->runLogin([
             'email'  => '[email protected]',
             'sub'    => 'benny1010101',
-            'my' => [
+            'my'     => [
                 'custom' => [
                     'groups' => [
-                        'attr' => ['Wizards']
-                    ]
-                ]
-            ]
+                        'attr' => ['Wizards'],
+                    ],
+                ],
+            ],
         ]);
         $resp->assertRedirect('/');