|
@@ -14,12 +14,10 @@ abstract class UsedTestCase extends BaseTestCase
|
|
|
parent::setUp(); // TODO: Change the autogenerated stub
|
|
|
$tokenInfo = $this->post('http://localhost/api/login', [
|
|
|
// 'email' => 'catch@admin.com',
|
|
|
-// 'password' => 'catchadmin',
|
|
|
'remember' => false,
|
|
|
- 'email' => 'xiaoli@qq.com',
|
|
|
+// 'email' => 'xiaoli@qq.com',
|
|
|
'password' => 'catchadmin',
|
|
|
-// 'email' => 'aa4@test.com',
|
|
|
-// 'password' => '123',
|
|
|
+ 'email' => 'aa@test.com',
|
|
|
])->json();
|
|
|
$this->token = $tokenInfo['data']['token'];
|
|
|
}
|