This commit is contained in:
David Goodwin committed 2020-09-26 09:48:26 +01:00
1 parent 10c92da8c8
commit 4e430e5925
1 file changed
+3 -8
+3 -8
View File
@@ -1,9 +1,7 @@
<?php
class DomainHandlerTest extends \PHPUnit\Framework\TestCase
{
public function testBasic()
{
class DomainHandlerTest extends \PHPUnit\Framework\TestCase {
public function testBasic() {
$x = new DomainHandler();
$list = $x->getList("");
@@ -15,8 +13,7 @@ class DomainHandlerTest extends \PHPUnit\Framework\TestCase
$this->assertEmpty($results);
}
public function testAddAndUpdate()
{
public function testAddAndUpdate() {
// Fake being an admin.
$_SESSION = [
'sessid' => [
@@ -101,7 +98,5 @@ class DomainHandlerTest extends \PHPUnit\Framework\TestCase
$this->assertEquals(99, $d['aliases']);
$this->assertEquals(88, $d['mailboxes']);
}
}