From 63736e599d2d1b99794a98be7965ea458d5e1a67 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Mon, 14 Oct 2024 14:51:47 +1300 Subject: [PATCH] ENH Suppress deprecation notices for API we can't avoid --- tests/php/Publisher/FilesystemPublisherTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/php/Publisher/FilesystemPublisherTest.php b/tests/php/Publisher/FilesystemPublisherTest.php index 734ba03..e6d0827 100644 --- a/tests/php/Publisher/FilesystemPublisherTest.php +++ b/tests/php/Publisher/FilesystemPublisherTest.php @@ -140,7 +140,7 @@ public function testUrlToPathWithDomainBasedCaching(): void public function testMenu2LinkingMode(): void { - SSViewer::set_themes(null); + SSViewer::set_themes([]); $reflection = new \ReflectionClass(FilesystemPublisher::class); $urlToPath = $reflection->getMethod('URLtoPath');