diff --git a/tests/php/BlogPostTest.php b/tests/php/BlogPostTest.php index 51abc217..e0ae4968 100644 --- a/tests/php/BlogPostTest.php +++ b/tests/php/BlogPostTest.php @@ -45,7 +45,7 @@ public function testCanView($date, $user, $page, $canView, $stage) * - expected result * - versioned stage */ - public function canViewProvider() + public static function canViewProvider() { $someFutureDate = '2013-10-10 20:00:00'; $somePastDate = '2009-10-10 20:00:00'; @@ -168,7 +168,7 @@ public function testGetMonthlyArchiveLink($type, $expected) /** * @return array[] */ - public function monthlyArchiveLinkProvider() + public static function monthlyArchiveLinkProvider() { return [ ['day', '/2013/10/1'],