|
@@ -15,9 +15,9 @@ abstract class UsedTestCase extends BaseTestCase
|
|
$tokenInfo = $this->post('http://localhost/api/login', [
|
|
$tokenInfo = $this->post('http://localhost/api/login', [
|
|
'email' => 'catch@admin.com',
|
|
'email' => 'catch@admin.com',
|
|
'remember' => false,
|
|
'remember' => false,
|
|
-// 'email' => 'xiaoli@qq.com',
|
|
|
|
|
|
+ 'email' => 'xiaoli@qq.com',
|
|
'password' => 'catchadmin',
|
|
'password' => 'catchadmin',
|
|
- 'email' => 'aa4@test.com',
|
|
|
|
|
|
+// 'email' => 'aa4@test.com',
|
|
])->json();
|
|
])->json();
|
|
$this->token = $tokenInfo['data']['token'];
|
|
$this->token = $tokenInfo['data']['token'];
|
|
}
|
|
}
|