Server::class optimisations, minimal functional changes - basically caching/performance improvements
This commit is contained in:
@@ -12,7 +12,7 @@ class ExampleTest extends TestCase
|
||||
*/
|
||||
public function test_the_application_returns_a_successful_response(): void
|
||||
{
|
||||
$response = $this->get('/');
|
||||
$response = $this->get('/login');
|
||||
|
||||
$response->assertStatus(200);
|
||||
}
|
||||
|
@@ -13,11 +13,10 @@ class GetBaseDNTest extends TestCase
|
||||
*
|
||||
* @return void
|
||||
* @throws \LdapRecord\Query\ObjectNotFoundException
|
||||
* @covers \App\Classes\LDAP\Server::baseDNs()
|
||||
*/
|
||||
public function testBaseDnExists()
|
||||
{
|
||||
$o = Server::baseDNs();
|
||||
$o = Server::baseDNs(TRUE);
|
||||
|
||||
$this->assertIsObject($o);
|
||||
$this->assertCount(6,$o->toArray());
|
||||
|
Reference in New Issue
Block a user