X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/b987bea37a593201107f207dc065e973e3ec39e8..refs/pull/3693/head:/tests/Auth/OidcTest.php diff --git a/tests/Auth/OidcTest.php b/tests/Auth/OidcTest.php index 4215f6a54..8c6e0635f 100644 --- a/tests/Auth/OidcTest.php +++ b/tests/Auth/OidcTest.php @@ -374,7 +374,7 @@ class OidcTest extends TestCase $resp = $this->runLogin([ 'email' => 'benny@example.com', 'sub' => 'benny1010101', - 'groups' => ['Wizards', 'Zookeepers'] + 'groups' => ['Wizards', 'Zookeepers'], ]); $resp->assertRedirect('/'); @@ -398,13 +398,13 @@ class OidcTest extends TestCase $resp = $this->runLogin([ 'email' => 'benny@example.com', 'sub' => 'benny1010101', - 'my' => [ + 'my' => [ 'custom' => [ 'groups' => [ - 'attr' => ['Wizards'] - ] - ] - ] + 'attr' => ['Wizards'], + ], + ], + ], ]); $resp->assertRedirect('/');