mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-09 05:38:39 +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;
|
protected $sqlite;
|
||||||
|
|
||||||
|
public static function setUpBeforeClass() : void
|
||||||
|
{
|
||||||
|
Autoloader::addPath(__DIR__ . '/../../../../../Resources/');
|
||||||
|
Autoloader::addPath(__DIR__ . '/../../../../Resources/');
|
||||||
|
}
|
||||||
|
|
||||||
protected function setUp() : void
|
protected function setUp() : void
|
||||||
{
|
{
|
||||||
if (!\extension_loaded('pdo_sqlite')) {
|
if (!\extension_loaded('pdo_sqlite')) {
|
||||||
|
|
@ -62,7 +68,6 @@ class SpreadsheetDatabaseMapperTest extends \PHPUnit\Framework\TestCase
|
||||||
*/
|
*/
|
||||||
public function testInsertOds() : void
|
public function testInsertOds() : void
|
||||||
{
|
{
|
||||||
Autoloader::addPath(__DIR__ . '/../../../../../Resources/');
|
|
||||||
$mapper = new SpreadsheetDatabaseMapper($this->sqlite, __DIR__ . '/insert.ods');
|
$mapper = new SpreadsheetDatabaseMapper($this->sqlite, __DIR__ . '/insert.ods');
|
||||||
$mapper->insert();
|
$mapper->insert();
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user