diff --git a/tests/MabeEnumTest/EnumTest.php b/tests/MabeEnumTest/EnumTest.php index 02917994..0947932a 100644 --- a/tests/MabeEnumTest/EnumTest.php +++ b/tests/MabeEnumTest/EnumTest.php @@ -31,11 +31,6 @@ public function setUp(): void $this->resetStaticEnumProps(); } - public function tearDown(): void - { - assert_options(ASSERT_ACTIVE, 1); - } - /** * Un-initialize all known enumerations */ @@ -331,14 +326,6 @@ public function testEnabledAssertAmbiguousEnumeratorValues(): void EnumAmbiguous::get('unknown'); } - public function testDisabledAssertAmbiguousEnumeratorValues(): void - { - assert_options(ASSERT_ACTIVE, 0); - $this->expectException(InvalidArgumentException::class); - - EnumAmbiguous::get('unknown'); - } - public function testByNameAmbiguousEnumeratorValues(): void { $this->expectException(AssertionError::class); @@ -355,14 +342,6 @@ public function testExtendedEnabledAssertAmbiguousEnumeratorValues(): void EnumExtendedAmbiguous::get('unknown'); } - public function testExtendedDisabledAssertAmbiguousEnumeratorValues(): void - { - assert_options(ASSERT_ACTIVE, 0); - $this->expectException(InvalidArgumentException::class); - - EnumExtendedAmbiguous::get('unknown'); - } - public function testSingleton(): void { $enum1 = EnumBasic::get(EnumBasic::ONE);