diff --git a/src/Control/SAMLController.php b/src/Control/SAMLController.php index 77153c2..e6312a8 100644 --- a/src/Control/SAMLController.php +++ b/src/Control/SAMLController.php @@ -354,6 +354,6 @@ public function getLogger() */ public function getForm() { - return Injector::inst()->get(SAMLLoginForm::class, true, [$this, SAMLAuthenticator::class, 'LoginForm']); + return Injector::inst()->get(SAMLLoginForm::class, false, [$this, SAMLAuthenticator::class, 'LoginForm']); } } diff --git a/tests/php/Control/SAMLControllerTest.php b/tests/php/Control/SAMLControllerTest.php new file mode 100644 index 0000000..cbe879d --- /dev/null +++ b/tests/php/Control/SAMLControllerTest.php @@ -0,0 +1,18 @@ +getForm(); + + $this->assertNotNull($form); + } +}