Commit 43a65749 authored by Tobias Munk's avatar Tobias Munk

fixed dev & test config

parent 59dc84c1
COMPOSE_PROJECT_NAME=wigdets2.tests
......@@ -2,25 +2,25 @@
return [
'aliases' => [
'@hrzg/widget' => 'app/vendor/hrzg/yii2-widget-module/src'
'@hrzg/widget' => '/app/vendor/hrzg/yii2-widgets2-module/src'
],
'params' => [
'yii.migrations' => [
'@vendor/hrzg/yii2-widget-module/src/migrations'
'@vendor/hrzg/yii2-widgets2-module/src/migrations'
]
],
'controllerMap' => [
'widget-cruds' => [
'class' => 'schmunk42\giiant\commands\BatchController',
'overwrite' => true,
'modelNamespace' => 'hrzg\\widget\\crud\\models',
'modelQueryNamespace' => 'hrzg\\widget\\crud\\models\\query',
'modelNamespace' => 'hrzg\\widget\\models\\crud',
Please register or sign in to reply
'modelQueryNamespace' => 'hrzg\\widget\\models\\crud\\query',
'modelGenerateQuery' => true,
'crudTidyOutput' => true,
'crudAccessFilter' => true,
'crudControllerNamespace' => 'hrzg\\widget\\crud\\controllers',
'crudSearchModelNamespace' => 'hrzg\\widget\\crud\\models\\search',
'crudViewPath' => 'hrzg/widget/modules/crud/views',
'crudControllerNamespace' => 'hrzg\\widget\\controllers\\crud',
'crudSearchModelNamespace' => 'hrzg\\widget\\models\\crud\\search',
'crudViewPath' => '@hrzg/widget/views/crud',
'crudPathPrefix' => '/crud/',
'crudProviders' => [
'schmunk42\\giiant\\generators\\crud\\providers\\optsProvider',
......@@ -35,6 +35,7 @@ return [
'modules' => [
'widget' => [
'class' => 'hrzg\widget\Module',
'layout' => '@admin-views/layouts/box',
]
]
];
\ No newline at end of file
......@@ -17,17 +17,17 @@ services:
- seleniumfirefox
environment:
APP_NAME: hrzg-widget
APP_TITLE: 'hrzg/yii2-widget-module'
APP_TITLE: 'hrzg/yii2-widgets2-module'
YII_ENV: 'prod'
YII_DEBUG: 'false'
APP_CONFIG_FILE: /app/vendor/hrzg/yii2-widget-module/tests/_config/test.php
APP_CONFIG_FILE: /app/vendor/hrzg/yii2-widgets2-module/tests/_config/test.php
DB_PORT_3306_TCP_ADDR: mariadb
DB_PORT_3306_TCP_PORT: 3306
DB_ENV_MYSQL_ROOT_USER: root
DB_ENV_MYSQL_ROOT_PASSWORD: secretadmin
volumes:
- /app
- ../:/app/vendor/hrzg/yii2-widget-module
- ../:/app/vendor/hrzg/yii2-widgets2-module
#- ../tests/_config/local.php:/app/src/config/local.php
mariadb:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment