Source of file LDAPLoginHandlerTest.php
Size: 0,500 Bytes - Last Modified: 2021-12-23T10:32:42+00:00
/var/www/docs.ssmods.com/process/src/tests/php/Authenticators/LDAPLoginHandlerTest.php
12345678910111213141516171819 | <?php namespace SilverStripe\LDAP\Tests; use SilverStripe\Dev\SapphireTest; use SilverStripe\LDAP\Authenticators\LDAPAuthenticator; use SilverStripe\LDAP\Authenticators\LDAPLoginHandler; use SilverStripe\LDAP\Forms\LDAPLoginForm; class LDAPLoginHandlerTest extends SapphireTest { public function testReturnsLdapLoginForm() { $handler = LDAPLoginHandler::create('foo', new LDAPAuthenticator()); $this->assertInstanceOf(LDAPLoginForm::class, $handler->loginForm()); } } |