init
This commit is contained in:
1
vendor/dmstr/yii2-adminlte-asset/tests/_app/.gitignore
vendored
Normal file
1
vendor/dmstr/yii2-adminlte-asset/tests/_app/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
vendor
|
||||
34
vendor/dmstr/yii2-adminlte-asset/tests/_app/composer.json
vendored
Normal file
34
vendor/dmstr/yii2-adminlte-asset/tests/_app/composer.json
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"repositories": [
|
||||
{
|
||||
"type": "vcs",
|
||||
"url": "file:///repo"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"wikimedia/composer-merge-plugin": "~1.4",
|
||||
"schmunk42/yii2-giiant": "dev-develop"
|
||||
},
|
||||
"extra": {
|
||||
"merge-plugin": {
|
||||
"require": [
|
||||
"/app/composer.json",
|
||||
"/repo/composer.json"
|
||||
]
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"fxp-asset": {
|
||||
"installer-paths": {
|
||||
"npm-asset-library": "vendor/npm",
|
||||
"bower-asset-library": "vendor/bower"
|
||||
},
|
||||
"vcs-driver-options": {
|
||||
"github-no-api": true
|
||||
},
|
||||
"git-skip-update": "2 days",
|
||||
"pattern-skip-version": "(-build|-patch)",
|
||||
"optimize-with-installed-packages": true
|
||||
}
|
||||
}
|
||||
}
|
||||
2344
vendor/dmstr/yii2-adminlte-asset/tests/_app/composer.lock
generated
vendored
Normal file
2344
vendor/dmstr/yii2-adminlte-asset/tests/_app/composer.lock
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
21
vendor/dmstr/yii2-adminlte-asset/tests/_app/config/local.php
vendored
Normal file
21
vendor/dmstr/yii2-adminlte-asset/tests/_app/config/local.php
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'defaultRoute' => 'test',
|
||||
'aliases' => [
|
||||
'repo' => '/repo',
|
||||
'tests/app' => '@repo/tests/_app',
|
||||
'dmstr' => '/repo',
|
||||
'@dmstr/web' => '/repo/web',
|
||||
'@dmstr/widgets' => '/repo/widgets',
|
||||
'@dmstr/helpers' => '/repo/helpers',
|
||||
],
|
||||
'controllerNamespace' => 'tests\app\controllers',
|
||||
'components' => [
|
||||
'urlManager' => [
|
||||
'rules' => [
|
||||
'param/<id>' => 'sub/action/param'
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
32
vendor/dmstr/yii2-adminlte-asset/tests/_app/controllers/TestController.php
vendored
Normal file
32
vendor/dmstr/yii2-adminlte-asset/tests/_app/controllers/TestController.php
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* @link http://www.diemeisterei.de/
|
||||
* @copyright Copyright (c) 2017 diemeisterei GmbH, Stuttgart
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace tests\app\controllers;
|
||||
|
||||
use yii\web\Controller;
|
||||
|
||||
class TestController extends Controller
|
||||
{
|
||||
public $layout = '@repo/example-views/testing/app/layouts/main';
|
||||
|
||||
public function actionIndex()
|
||||
{
|
||||
return $this->render('@repo/example-views/testing/app/default/index');
|
||||
}
|
||||
|
||||
public function actionAuto()
|
||||
{
|
||||
return $this->render('@repo/example-views/testing/app/default/index');
|
||||
}
|
||||
|
||||
public function actionLogin()
|
||||
{
|
||||
return $this->render('@repo/example-views/testing/app/security/login');
|
||||
}
|
||||
}
|
||||
38
vendor/dmstr/yii2-adminlte-asset/tests/_app/controllers/sub/ActionController.php
vendored
Normal file
38
vendor/dmstr/yii2-adminlte-asset/tests/_app/controllers/sub/ActionController.php
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/**
|
||||
* @link http://www.diemeisterei.de/
|
||||
* @copyright Copyright (c) 2017 diemeisterei GmbH, Stuttgart
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace tests\app\controllers\sub;
|
||||
|
||||
use yii\web\Controller;
|
||||
|
||||
class ActionController extends Controller
|
||||
{
|
||||
public $layout = '@repo/example-views/testing/app/layouts/main';
|
||||
|
||||
public function actionOne()
|
||||
{
|
||||
return $this->render('@repo/example-views/testing/app/default/index');
|
||||
}
|
||||
|
||||
public function actionTwo()
|
||||
{
|
||||
return $this->render('@repo/example-views/testing/app/default/index');
|
||||
}
|
||||
|
||||
public function actionThree()
|
||||
{
|
||||
return $this->render('@repo/example-views/testing/app/default/index');
|
||||
}
|
||||
|
||||
public function actionParam($id)
|
||||
{
|
||||
return $this->render('@repo/example-views/testing/app/default/index');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user