InviteTest.php 509 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace Tests\Feature;
  3. use Illuminate\Foundation\Testing\RefreshDatabase;
  4. use Illuminate\Foundation\Testing\WithFaker;
  5. use Tests\TestCase;
  6. class InviteTest extends TestCase
  7. {
  8. /**
  9. * A basic feature test example.
  10. *
  11. * @return void
  12. */
  13. public function test_index()
  14. {
  15. $response = $this->withHeaders([
  16. 'Authorization' => env('TEST_USER_TOKEN'),
  17. ])->get('/api/v2/invite?view=studio&studio=visuddhinanda');
  18. $response->assertOk();
  19. }
  20. }