Make getDBPath() static

This commit is contained in:
Jeremy Dormitzer 2019-03-23 12:57:41 -04:00
parent 9c7eb01edc
commit 9fdfa2ea78
2 changed files with 2 additions and 2 deletions

View File

@ -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';
}

View File

@ -28,7 +28,7 @@ abstract class SQLiteTestCase extends APTestCase
return $this->conn;
}
protected function getDbPath()
protected static function getDbPath()
{
return dirname( __FILE__ ) . '/db.sqlite';
}