generated from yii2-extensions/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
31aa7a9
commit cd8232a
Showing
92 changed files
with
3,357 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
namespace: Yii\User\Tests | ||
bootstrap: _bootstrap.php | ||
support_namespace: Support | ||
paths: | ||
tests: tests | ||
output: tests/_output | ||
data: tests/Support/Data | ||
support: tests/Support | ||
envs: tests/_envs | ||
actor_suffix: Tester | ||
settings: | ||
memory_limit: 1024M | ||
colors: true | ||
modules: | ||
config: | ||
Yii2: | ||
configFile: 'config/tests/web/app.php' | ||
extensions: | ||
enabled: | ||
- Codeception\Extension\RunFailed | ||
coverage: | ||
enabled: true | ||
whitelist: | ||
include: | ||
- src/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"symbol-whitelist": [ | ||
"YII_ENV" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use Yii\User\UseCase\Register\RegisterController; | ||
|
||
return [ | ||
'app.aliases' => [ | ||
'@yii-user' => '@vendor/yii2-extensions/user', | ||
'@yii-user/mailer' => '@yii-user/src/Framework/resource/mailer', | ||
'@yii-user/migration' => '@yii-user/src/Framework/Migration', | ||
], | ||
'app.controllerMap' => [ | ||
'register' => [ | ||
'class' => RegisterController::class, | ||
], | ||
], | ||
'app.events' => [ | ||
__DIR__ . '/events/AccountModel.php', | ||
], | ||
'app.menu.isguest' => [ | ||
[ | ||
'label' => \Yii::t('app.basic', 'Register'), | ||
'url' => ['/register/index'], | ||
'order' => 3, | ||
], | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use yii\db\Connection; | ||
|
||
$params = require_once dirname(__DIR__) . '/params-console.php'; | ||
|
||
return [ | ||
'aliases' => [ | ||
'@yii-user' => dirname(__DIR__, 3), | ||
'@yii-user/migration' => '@yii-user/src/Framework/Migration', | ||
], | ||
'basePath' => dirname(__DIR__, 3), | ||
'bootstrap' => ['log'], | ||
'components' => [ | ||
'db' => [ | ||
'class' => Connection::class, | ||
'dsn' => 'sqlite:' . dirname(__DIR__) . '/yiitest.sq3', | ||
], | ||
], | ||
'id' => 'app-tests', | ||
'language' => 'en-US', | ||
'name' => 'Web application basic', | ||
'params' => $params, | ||
'runtimePath' => dirname(__DIR__, 3) . '/tests/Support/Data/public/runtime', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
return []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
return [ | ||
'icons' => '@npm/fortawesome--fontawesome-free/svgs/{family}/{name}.svg', | ||
]; |
Oops, something went wrong.