diff --git a/test/ActivityPubTest.php b/test/ActivityPubTest.php index da8746b..537c061 100644 --- a/test/ActivityPubTest.php +++ b/test/ActivityPubTest.php @@ -19,7 +19,7 @@ class ActivityPubTest extends SQLiteTestCase $this->assertTrue( file_exists( $this->getDbPath() ) ); } - protected function getDbPath() + protected static function getDbPath() { return dirname( __FILE__ ) . '/db.sqlite'; } diff --git a/test/TestConfig/SQLiteTestCase.php b/test/TestConfig/SQLiteTestCase.php index 0ce9d97..edae374 100644 --- a/test/TestConfig/SQLiteTestCase.php +++ b/test/TestConfig/SQLiteTestCase.php @@ -28,7 +28,7 @@ abstract class SQLiteTestCase extends APTestCase return $this->conn; } - protected function getDbPath() + protected static function getDbPath() { return dirname( __FILE__ ) . '/db.sqlite'; }