From 37d83a65c36f5d89446db627768b9b55b1449dc1 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Tue, 12 Dec 2017 20:18:02 -0600 Subject: [PATCH] fix trait not found --- tests/ApiTest.php | 2 -- tests/TestCase.php | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) 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); }