+ public function test_automatic_redirect_on_login()
+ {
+ config()->set([
+ 'auth.auto_redirect' => true,
+ 'services.google.client_id' => false,
+ 'services.github.client_id' => false,
+ ]);
+ $req = $this->get('/login');
+ $req->assertSeeText('SingleSignOn-Testing');
+ $req->assertElementExists('form[action$="/oidc/login"][method=POST] button');
+ $req->assertElementExists('div#loginredirect-wrapper');
+ }
+