Server::class optimisations, minimal functional changes - basically caching/performance improvements

This commit is contained in:
2025-04-27 12:07:48 +10:00
parent ea46cf36d0
commit 53880121b6
8 changed files with 113 additions and 94 deletions

View File

@@ -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);
}

View File

@@ -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());