VideoCategoryControllerTest.php 470 B

1234567891011121314151617181920
  1. <?php
  2. namespace Tests\Video\Http\Controllers;
  3. use Modules\Video\Http\Controllers\VideoCategoryController;
  4. use PHPUnit\Framework\TestCase;
  5. use Tests\UsedTestCase;
  6. class VideoCategoryControllerTest extends UsedTestCase
  7. {
  8. public function testList()
  9. {
  10. $res = $this->withHeaders([
  11. 'Authorization' => 'Bearer '. $this->token,
  12. ])->json('get','http://localhost/api/videoStock/videoCategory/list');
  13. $this->dumpJson($res);
  14. }
  15. }