diff --git a/Admin/Installer.php b/Admin/Installer.php index 3afe185..517062d 100755 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -18,7 +18,6 @@ use Model\Setting; use Model\SettingMapper; use phpOMS\Application\ApplicationAbstract; use phpOMS\Config\SettingsInterface; -use phpOMS\DataStorage\Database\DatabasePool; use phpOMS\Module\InstallerAbstract; use phpOMS\Module\ModuleInfo; diff --git a/tests/Models/TagTest.php b/tests/Models/TagTest.php index b5b7c7a..9b2e329 100755 --- a/tests/Models/TagTest.php +++ b/tests/Models/TagTest.php @@ -41,7 +41,7 @@ final class TagTest extends \PHPUnit\Framework\TestCase public function testDefault() : void { self::assertEquals(0, $this->tag->getId()); - self::assertEquals(null, $this->tag->owner); + self::assertNull($this->tag->owner); self::assertEquals(TagType::SINGLE, $this->tag->getType()); self::assertEquals('00000000', $this->tag->color); self::assertEquals('', $this->tag->getL11n()); @@ -100,8 +100,8 @@ final class TagTest extends \PHPUnit\Framework\TestCase public function testSerialize() : void { $this->tag->setL11n($t = new TagL11n('Test')); - $this->tag->owner = new NullAccount(2); - $this->tag->color = 'ffffffff'; + $this->tag->owner = new NullAccount(2); + $this->tag->color = 'ffffffff'; $this->tag->setType(TagType::SHARED); self::assertEquals(