Advertisement
Guest User

Untitled

a guest
Aug 17th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. <?php
  2. namespace Tests;
  3.  
  4. use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
  5.  
  6. class TestCase extends BaseTestCase
  7. {
  8. use CreatesApplication;
  9.  
  10. protected $headers = ['accept' => 'application/json'];
  11.  
  12. public function __construct()
  13. {
  14. parent::__construct(); // Illuminate\Foundation\Testing\TestCase has no __construct, so it bubbles up to PHPUnit\Framework\TestCase. But without any args
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement