From 9983121cbb764c33c4e7aef484519e9593a1f70f Mon Sep 17 00:00:00 2001 From: Bradley Date: Thu, 25 May 2023 14:17:49 +0100 Subject: [PATCH] Remove old tests --- tests/Twig/Functions/IconExtensionTest.php | 18 ------------------ 1 file changed, 18 deletions(-) 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);