mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
Fix extension type test
This commit is contained in:
parent
1f840c7c04
commit
a62304baaa
|
|
@ -23,7 +23,7 @@ class ExtensionTypeTest extends \PHPUnit\Framework\TestCase
|
|||
{
|
||||
public function testEnums() : void
|
||||
{
|
||||
self::assertCount(11, ExtensionType::getConstants());
|
||||
self::assertCount(12, ExtensionType::getConstants());
|
||||
self::assertEquals(ExtensionType::getConstants(), \array_unique(ExtensionType::getConstants()));
|
||||
|
||||
self::assertEquals(1, ExtensionType::UNKNOWN);
|
||||
|
|
@ -37,5 +37,6 @@ class ExtensionTypeTest extends \PHPUnit\Framework\TestCase
|
|||
self::assertEquals(256, ExtensionType::PRESENTATION);
|
||||
self::assertEquals(512, ExtensionType::IMAGE);
|
||||
self::assertEquals(1024, ExtensionType::EXECUTABLE);
|
||||
self::assertEquals(2048, ExtensionType::DIRECTORY);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user