Make getDBPath() static
This commit is contained in:
parent
9c7eb01edc
commit
9fdfa2ea78
@ -19,7 +19,7 @@ class ActivityPubTest extends SQLiteTestCase
|
|||||||
$this->assertTrue( file_exists( $this->getDbPath() ) );
|
$this->assertTrue( file_exists( $this->getDbPath() ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function getDbPath()
|
protected static function getDbPath()
|
||||||
{
|
{
|
||||||
return dirname( __FILE__ ) . '/db.sqlite';
|
return dirname( __FILE__ ) . '/db.sqlite';
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,7 @@ abstract class SQLiteTestCase extends APTestCase
|
|||||||
return $this->conn;
|
return $this->conn;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function getDbPath()
|
protected static function getDbPath()
|
||||||
{
|
{
|
||||||
return dirname( __FILE__ ) . '/db.sqlite';
|
return dirname( __FILE__ ) . '/db.sqlite';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user