瀏覽代碼

已绑定公众号,显示出来

liuzejian 1 年之前
父節點
當前提交
baeb040ceb
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      tests/Channel/Http/Controllers/AdvertiserControllerTest.php
  2. 2 2
      tests/UsedTestCase.php

+ 1 - 1
tests/Channel/Http/Controllers/AdvertiserControllerTest.php

@@ -32,7 +32,7 @@ class AdvertiserControllerTest extends UsedTestCase
 //                'email' => 'aa1@test.com',
 //                'miniProgramId' => 3,
             ]));
-        $res->dump();
+        $this->dumpJson($res);
     }
 
     public function testgetAdvertiser() {

+ 2 - 2
tests/UsedTestCase.php

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