mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-07 04:58:40 +00:00
fix dependencies
This commit is contained in:
parent
82cdc54fb0
commit
3fdc684973
|
|
@ -16,8 +16,9 @@ namespace phpOMS\tests\Module;
|
||||||
|
|
||||||
require_once __DIR__ . '/../Autoloader.php';
|
require_once __DIR__ . '/../Autoloader.php';
|
||||||
|
|
||||||
use Model\CoreSettings;
|
|
||||||
use phpOMS\Application\ApplicationAbstract;
|
use phpOMS\Application\ApplicationAbstract;
|
||||||
|
use phpOMS\Config\OptionsTrait;
|
||||||
|
use phpOMS\Config\SettingsInterface;
|
||||||
use phpOMS\Module\InstallerAbstract;
|
use phpOMS\Module\InstallerAbstract;
|
||||||
use phpOMS\Module\ModuleInfo;
|
use phpOMS\Module\ModuleInfo;
|
||||||
|
|
||||||
|
|
@ -56,7 +57,30 @@ final class InstallerAbstractTest extends \PHPUnit\Framework\TestCase
|
||||||
$this->installer::install(
|
$this->installer::install(
|
||||||
$app,
|
$app,
|
||||||
new ModuleInfo(__DIR__),
|
new ModuleInfo(__DIR__),
|
||||||
new CoreSettings()
|
new class () implements SettingsInterface {
|
||||||
|
use OptionsTrait;
|
||||||
|
|
||||||
|
public function get(
|
||||||
|
mixed $ids = null,
|
||||||
|
string | array $names = null,
|
||||||
|
int $app = null,
|
||||||
|
string $module = null,
|
||||||
|
int $group = null,
|
||||||
|
int $account = null
|
||||||
|
) : mixed
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function set(array $options, bool $store = false) : void
|
||||||
|
{}
|
||||||
|
|
||||||
|
public function save(array $options = []) : void
|
||||||
|
{}
|
||||||
|
|
||||||
|
public function create(array $options = []) : void
|
||||||
|
{}
|
||||||
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user