diff --git a/tests/ApiTest.php b/tests/ApiTest.php index 4bd328d1..d2d3d886 100644 --- a/tests/ApiTest.php +++ b/tests/ApiTest.php @@ -5,8 +5,6 @@ */ class ApiTest extends TestCase { - use \Tests\Traits\FixtureDataLoader; - public function setUp() { parent::setUp(); diff --git a/tests/TestCase.php b/tests/TestCase.php index bc4186cb..2bf7f653 100755 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -22,6 +22,11 @@ abstract class TestCase extends Illuminate\Foundation\Testing\TestCase 'Authorization' => 'testadminapikey' ]; + public function apiHeaders() + { + return self::$auth_headers; + } + public function __construct($name = null, array $data = [], $dataName = '') { parent::__construct($name, $data, $dataName); }