VideoSeriesWechatCheckControllerTest.php 591 B

12345678910111213141516171819202122
  1. <?php
  2. namespace Tests\Video\Http\Controllers;
  3. use Modules\Video\Http\Controllers\VideoSeriesWechatCheckController;
  4. use PHPUnit\Framework\TestCase;
  5. use Tests\UsedTestCase;
  6. class VideoSeriesWechatCheckControllerTest extends UsedTestCase
  7. {
  8. public function testSyncWechat()
  9. {
  10. $res = $this->withHeaders([
  11. 'Authorization' => 'Bearer '. $this->token,
  12. ])->json('post','http://localhost/api/videoStock/wechatCheck/videoSeries/syncWechat', [
  13. 'series_ids' => [81,82,83,84,85],
  14. ]);
  15. $res->dump();
  16. $this->dumpJson($res);
  17. }
  18. }