summaryrefslogtreecommitdiff
path: root/tests/app/Factories/EncodingFactoryTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/app/Factories/EncodingFactoryTest.php')
-rw-r--r--tests/app/Factories/EncodingFactoryTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/app/Factories/EncodingFactoryTest.php b/tests/app/Factories/EncodingFactoryTest.php
index 99ef8acf49..5924405a88 100644
--- a/tests/app/Factories/EncodingFactoryTest.php
+++ b/tests/app/Factories/EncodingFactoryTest.php
@@ -113,16 +113,16 @@ class EncodingFactoryTest extends TestCase
$factory->make('Not the name of a valid encoding');
}
- public function testList(): void
+ public function testListedEncodingNamesCanBeCreated(): void
{
$factory = new EncodingFactory();
$encodings = $factory->list();
- self::assertCount(13, $encodings);
-
foreach ($encodings as $key => $value) {
- self::assertInstanceOf(EncodingInterface::class, $factory->make($key));
+ $factory->make($key);
}
+
+ self::assertCount(13, $encodings);
}
}