mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-17 12:28:41 +00:00
fix resources path
This commit is contained in:
parent
113b00b8e6
commit
0c04b6ebcd
|
|
@ -29,6 +29,12 @@ class SpreadsheetDatabaseMapperTest extends \PHPUnit\Framework\TestCase
|
|||
{
|
||||
protected $sqlite;
|
||||
|
||||
public static function setUpBeforeClass() : void
|
||||
{
|
||||
Autoloader::addPath(__DIR__ . '/../../../../../Resources/');
|
||||
Autoloader::addPath(__DIR__ . '/../../../../Resources/');
|
||||
}
|
||||
|
||||
protected function setUp() : void
|
||||
{
|
||||
if (!\extension_loaded('pdo_sqlite')) {
|
||||
|
|
@ -62,7 +68,6 @@ class SpreadsheetDatabaseMapperTest extends \PHPUnit\Framework\TestCase
|
|||
*/
|
||||
public function testInsertOds() : void
|
||||
{
|
||||
Autoloader::addPath(__DIR__ . '/../../../../../Resources/');
|
||||
$mapper = new SpreadsheetDatabaseMapper($this->sqlite, __DIR__ . '/insert.ods');
|
||||
$mapper->insert();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user