From 7ec7447da191a390b05efb98accd7a31f8c89534 Mon Sep 17 00:00:00 2001 From: zacksleo Date: Fri, 22 Dec 2017 11:02:48 +0800 Subject: [PATCH] tests --- tests/TestCase.php | 4 ++-- tests/models/User.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/TestCase.php b/tests/TestCase.php index 0e880cf..5b484d1 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -56,7 +56,7 @@ public function createTestData() email varchar(64) not null comment '邮箱', password_hash varchar(64) not null comment '密码', password_reset_token varchar(255) null comment '重置密码Token', - status tinyint(1) default '1' not null comment '状态', + status tinyint(1) default '10' not null comment '状态', created_at int not null comment '创建时间', updated_at int not null comment '更新时间' ) @@ -67,7 +67,7 @@ public function createTestData() ) VALUES ( - 'CccLhn6aqp_Y-XYh-JzfXSCfxJNkKC8w', '', 'lianluo', '管理员', 'zacksleo@gmail.com', '$2y$13\$dbGxVyj3kglcJNUEsKyiu.5KQ9We3AqAFncYkdAS1iNRYf/RA37Ay', null, 1, 1502856859, 1502856859 + 'CccLhn6aqp_Y-XYh-JzfXSCfxJNkKC8w', '', 'lianluo', '管理员', 'zacksleo@gmail.com', '$2y$13\$dbGxVyj3kglcJNUEsKyiu.5KQ9We3AqAFncYkdAS1iNRYf/RA37Ay', null, 10, 1502856859, 1502856859 ); EOF; $userSql = <<