From 87a79c646f0a2e6b6ff00fbc0a521573b4d848b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Michael=20O=2E=20Hegg=C3=B8?= Date: Tue, 27 Feb 2024 23:24:51 +0100 Subject: [PATCH] Fix dataproviders in tests --- tests/CollectionTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/CollectionTest.php b/tests/CollectionTest.php index da44b6a..9d55033 100644 --- a/tests/CollectionTest.php +++ b/tests/CollectionTest.php @@ -35,7 +35,7 @@ public function testExceptionOnInvalidEncoding() * * @return array */ - public function mrcFiles() + public static function mrcFiles() { return [ ['sandburg.mrc', 1], // Single binary MARC file @@ -48,7 +48,7 @@ public function mrcFiles() * * @return array */ - public function xmlFiles() + public static function xmlFiles() { return [ ['oaipmh-bibsys.xml', 89], // Records encapsulated in OAI-PMH response