Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xutl committed Oct 18, 2017
1 parent 4b3a912 commit 7d85575
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 32 deletions.
5 changes: 1 addition & 4 deletions tests/_app/config/console.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,10 @@
'interactive' => 0,
//命名空间
'migrationNamespaces' => [
//'yuncms\oauth2\migrations',
//'yuncms\system\migrations',
//'yuncms\tag\migrations',
'yuncms\user\migrations',
],
// 完全禁用非命名空间迁移
//'migrationPath' => null,
'migrationPath' => null,
],
],
'components' => [
Expand Down
24 changes: 12 additions & 12 deletions tests/_fixtures/data/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

return [
'user' => [
'slug' => 'user',
'name' => 'user',
'username' => 'user',
'nickname' => 'user',
'email' => 'user@example.com',
'password_hash' => '$2y$13$qY.ImaYBppt66qez6B31QO92jc5DYVRzo5NxM1ivItkW74WsSG6Ui',
'auth_key' => '39HU0m5lpjWtqstFVGFjj6lFb7UZDeRq',
Expand All @@ -14,26 +14,26 @@
'confirmed_at' => $time,
],
'unconfirmed' => [
'slug' => 'joe',
'name' => 'joe',
'username' => 'joe',
'nickname' => 'joe',
'email' => 'joe@example.com',
'password_hash' => '$2y$13$CIH1LSMPzU9xDCywt3QO8uovAu2axp8hwuXVa72oI.1G/USsGyMBS',
'auth_key' => 'mhh1A6KfqQLmHP-MiWN0WB0M90Q2u5OE',
'created_at' => $time,
'updated_at' => $time,
],
'unconfirmed_with_expired_token' => [
'slug' => 'john',
'name' => 'john',
'username' => 'john',
'nickname' => 'john',
'email' => 'john@example.com',
'password_hash' => '$2y$13$qY.ImaYBppt66qez6B31QO92jc5DYVRzo5NxM1ivItkW74WsSG6Ui',
'auth_key' => 'h6OS9csJbZEOW59ZILmJxU6bCiqVno9A',
'created_at' => $time - 86401,
'updated_at' => $time - 86401,
],
'blocked' => [
'slug' => 'steven',
'name' => 'steven',
'username' => 'steven',
'nickname' => 'steven',
'email' => 'steven@example.com',
'password_hash' => '$2y$13$qY.ImaYBppt66qez6B31QO92jc5DYVRzo5NxM1ivItkW74WsSG6Ui',
'auth_key' => 'TnXTrtLdj-YJBlG2A6jFHJreKgbsLYCa',
Expand All @@ -43,8 +43,8 @@
'confirmed_at' => $time,
],
'user_with_expired_recovery_token' => [
'slug' => 'andrew',
'name' => 'andrew',
'username' => 'andrew',
'nickname' => 'andrew',
'email' => 'andrew@example.com',
'password_hash' => '$2y$13$qY.ImaYBppt66qez6B31QO92jc5DYVRzo5NxM1ivItkW74WsSG6Ui',
'auth_key' => 'qxYa315rqRgCOjYGk82GFHMEAV3T82AX',
Expand All @@ -53,8 +53,8 @@
'confirmed_at' => $time - 21601,
],
'user_with_recovery_token' => [
'slug' => 'alex',
'name' => 'alex',
'username' => 'alex',
'nickname' => 'alex',
'email' => 'alex@example.com',
'password_hash' => '$2y$13$qY.ImaYBppt66qez6B31QO92jc5DYVRzo5NxM1ivItkW74WsSG6Ui',
'auth_key' => 'zQh1A65We0AmHPOMiWN0WB0M90Q24ziU',
Expand Down
16 changes: 0 additions & 16 deletions tests/_pages/AdminPage.php

This file was deleted.

0 comments on commit 7d85575

Please sign in to comment.