Automated formatting changes

This commit is contained in:
Formatter Bot 2022-04-10 16:06:02 +00:00
parent 3f73341302
commit 80fccf899b
2 changed files with 3 additions and 4 deletions

View File

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

View File

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