From 0534fe68869aae231259ee48a38b4533f3f1ff99 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Fri, 8 Nov 2024 14:41:52 +0100 Subject: Thumbs\Epubthumb: Adapt to new version of EPub meta lib. Also fixes a few issues and refactor the code a bit. --- tests/unit/Thumb/EpubthumbTest.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/unit/Thumb/EpubthumbTest.php (limited to 'tests/unit') diff --git a/tests/unit/Thumb/EpubthumbTest.php b/tests/unit/Thumb/EpubthumbTest.php new file mode 100644 index 000000000..5dabaf359 --- /dev/null +++ b/tests/unit/Thumb/EpubthumbTest.php @@ -0,0 +1,21 @@ +assertTrue($thumbnailer->Match('application/epub+zip')); + $this->assertFalse($thumbnailer->Match('application/zip')); + } +} -- cgit v1.2.3