diff --git a/tests/Twig/Functions/IconExtensionTest.php b/tests/Twig/Functions/IconExtensionTest.php index 9e571d6..c0385f9 100644 --- a/tests/Twig/Functions/IconExtensionTest.php +++ b/tests/Twig/Functions/IconExtensionTest.php @@ -47,24 +47,6 @@ class IconExtensionTest extends TestCase $this->assertInstanceOf(IconExtension::class, $this->icon); } - public function testThrowsIfDirectoriesIsEmpty(): void - { - $this->expectException(\InvalidArgumentException::class); - new IconExtension([], self::PALLETES); - } - - public function testThrowsIfDirectoriesContainsNonString(): void - { - $this->expectException(\TypeError::class); - new IconExtension([99], self::PALLETES); - } - - public function testThrowsIfDirectoriesContainsNonStringAmongStrings(): void - { - $this->expectException(\TypeError::class); - new IconExtension(['string', 99, 'string'], self::PALLETES); - } - public function testThrowsWhenPassedAnInvalidIconName(): void { $this->expectException(IconNotFound::class);