mirror of
https://github.com/Karaka-Management/oms-ResearchDevelopment.git
synced 2026-01-11 05:58:41 +00:00
test fixes + new test data
This commit is contained in:
parent
c1cc2815c4
commit
9d8c8e1d1c
|
|
@ -14,7 +14,7 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace Modules\ResearchDevelopment\Admin\Install;
|
namespace Modules\ResearchDevelopment\Admin\Install;
|
||||||
|
|
||||||
use phpOMS\DataStorage\Database\DatabasePool;
|
use phpOMS\Application\ApplicationAbstract;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Navigation class.
|
* Navigation class.
|
||||||
|
|
@ -29,15 +29,15 @@ class Navigation
|
||||||
/**
|
/**
|
||||||
* Install navigation providing
|
* Install navigation providing
|
||||||
*
|
*
|
||||||
* @param string $path Module path
|
* @param ApplicationAbstract $app Application
|
||||||
* @param DatabasePool $dbPool Database pool for database interaction
|
* @param string $path Module path
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public static function install(string $path, DatabasePool $dbPool) : void
|
public static function install(ApplicationAbstract $app, string $path) : void
|
||||||
{
|
{
|
||||||
\Modules\Navigation\Admin\Installer::installExternal($dbPool, ['path' => __DIR__ . '/Navigation.install.json']);
|
\Modules\Navigation\Admin\Installer::installExternal($app, ['path' => __DIR__ . '/Navigation.install.json']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,4 +26,11 @@ use phpOMS\Module\InstallerAbstract;
|
||||||
*/
|
*/
|
||||||
final class Installer extends InstallerAbstract
|
final class Installer extends InstallerAbstract
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Path of the file
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
public const PATH = __DIR__;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,4 +26,11 @@ use phpOMS\Module\StatusAbstract;
|
||||||
*/
|
*/
|
||||||
final class Status extends StatusAbstract
|
final class Status extends StatusAbstract
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Path of the file
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
public const PATH = __DIR__;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,4 +26,11 @@ use phpOMS\Module\UninstallerAbstract;
|
||||||
*/
|
*/
|
||||||
final class Uninstaller extends UninstallerAbstract
|
final class Uninstaller extends UninstallerAbstract
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Path of the file
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
public const PATH = __DIR__;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,4 +26,11 @@ use phpOMS\Module\UpdaterAbstract;
|
||||||
*/
|
*/
|
||||||
final class Updater extends UpdaterAbstract
|
final class Updater extends UpdaterAbstract
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Path of the file
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
public const PATH = __DIR__;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,8 @@
|
||||||
"phpOMS-db": "1.0.0"
|
"phpOMS-db": "1.0.0"
|
||||||
},
|
},
|
||||||
"creator": {
|
"creator": {
|
||||||
"name": "Orange Management",
|
"name": "Jingga",
|
||||||
"website": "www.spl1nes.com"
|
"website": "jingga.app"
|
||||||
},
|
},
|
||||||
"description": "Research & Development module.",
|
"description": "Research & Development module.",
|
||||||
"directory": "ResearchDevelopment",
|
"directory": "ResearchDevelopment",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user