Skip to content

Instantly share code, notes, and snippets.

@a3dho3yn
Last active August 5, 2019 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a3dho3yn/cbce7f4367991c385d6a79c253cccc40 to your computer and use it in GitHub Desktop.
Save a3dho3yn/cbce7f4367991c385d6a79c253cccc40 to your computer and use it in GitHub Desktop.
<?php
namespace Tests;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
class TestCase extends BaseTestCase
{
use CreatesApplication;
protected $headers = ['accept' => 'application/json'];
public function __construct()
{
parent::__construct(); // Illuminate\Foundation\Testing\TestCase has no __construct, so it bubbles up to PHPUnit\Framework\TestCase. But without any args
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment