diff --git a/tests/Admin/AdminTest.php b/tests/Admin/AdminTest.php index d94b940..035559b 100755 --- a/tests/Admin/AdminTest.php +++ b/tests/Admin/AdminTest.php @@ -19,9 +19,9 @@ namespace Modules\Script\tests\Admin; */ final class AdminTest extends \PHPUnit\Framework\TestCase { - protected const NAME = 'Helper'; + protected const NAME = 'Script'; - protected const URI_LOAD = 'http://127.0.0.1/en/backend/helper'; + protected const URI_LOAD = 'http://127.0.0.1/en/backend/script'; use \tests\Modules\ModuleTestTrait; } diff --git a/tests/Controller/ApiControllerTest.php b/tests/Controller/ApiControllerTest.php index 9f53600..37a5946 100755 --- a/tests/Controller/ApiControllerTest.php +++ b/tests/Controller/ApiControllerTest.php @@ -93,7 +93,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase $this->app->accountManager->add($account); $this->app->router = new WebRouter(); - $this->module = $this->app->moduleManager->get('Helper'); + $this->module = $this->app->moduleManager->get('Script'); TestUtils::setMember($this->module, 'app', $this->app); } diff --git a/tests/Models/ReportMapperTest.php b/tests/Models/ReportMapperTest.php index dd4de45..885c843 100755 --- a/tests/Models/ReportMapperTest.php +++ b/tests/Models/ReportMapperTest.php @@ -27,7 +27,7 @@ use Modules\Script\Models\TemplateDataType; * @internal */ #[\PHPUnit\Framework\Attributes\CoversClass(\Modules\Script\Models\ReportMapper::class)] -#[\PHPUnit\Framework\Attributes\TestDox('Modules\tests\Helper\Models\ReportMapperTest: Report database mapper')] +#[\PHPUnit\Framework\Attributes\TestDox('Modules\tests\Script\Models\ReportMapperTest: Report database mapper')] final class ReportMapperTest extends \PHPUnit\Framework\TestCase { private function createTemplate() diff --git a/tests/Models/ReportTest.php b/tests/Models/ReportTest.php index 98e2f33..626fa8d 100755 --- a/tests/Models/ReportTest.php +++ b/tests/Models/ReportTest.php @@ -24,7 +24,7 @@ use Modules\Script\Models\ScriptStatus; * @internal */ #[\PHPUnit\Framework\Attributes\CoversClass(\Modules\Script\Models\Report::class)] -#[\PHPUnit\Framework\Attributes\TestDox('Modules\tests\Helper\Models\ReportTest: Report model')] +#[\PHPUnit\Framework\Attributes\TestDox('Modules\tests\Script\Models\ReportTest: Report model')] final class ReportTest extends \PHPUnit\Framework\TestCase { protected Report $report; diff --git a/tests/Models/TemplateMapperTest.php b/tests/Models/TemplateMapperTest.php index 1f689f0..23ba62b 100755 --- a/tests/Models/TemplateMapperTest.php +++ b/tests/Models/TemplateMapperTest.php @@ -27,7 +27,7 @@ use phpOMS\DataStorage\Database\Query\OrderType; * @internal */ #[\PHPUnit\Framework\Attributes\CoversClass(\Modules\Script\Models\TemplateMapper::class)] -#[\PHPUnit\Framework\Attributes\TestDox('Modules\tests\Helper\Models\TemplateMapperTest: Template database mapper')] +#[\PHPUnit\Framework\Attributes\TestDox('Modules\tests\Script\Models\TemplateMapperTest: Template database mapper')] final class TemplateMapperTest extends \PHPUnit\Framework\TestCase { #[\PHPUnit\Framework\Attributes\Group('module')] diff --git a/tests/Models/TemplateTest.php b/tests/Models/TemplateTest.php index 85312b6..7ec794e 100755 --- a/tests/Models/TemplateTest.php +++ b/tests/Models/TemplateTest.php @@ -27,7 +27,7 @@ use phpOMS\Utils\TestUtils; * @internal */ #[\PHPUnit\Framework\Attributes\CoversClass(\Modules\Script\Models\Template::class)] -#[\PHPUnit\Framework\Attributes\TestDox('Modules\tests\Helper\Models\TemplateTest: Template model')] +#[\PHPUnit\Framework\Attributes\TestDox('Modules\tests\Script\Models\TemplateTest: Template model')] final class TemplateTest extends \PHPUnit\Framework\TestCase { protected Template $template;