fix trait not found

This commit is contained in:
Nabeel Shahzad
2017-12-12 20:18:02 -06:00
parent ca512d650c
commit 37d83a65c3
2 changed files with 5 additions and 2 deletions

View File

@@ -5,8 +5,6 @@
*/
class ApiTest extends TestCase
{
use \Tests\Traits\FixtureDataLoader;
public function setUp()
{
parent::setUp();

View File

@@ -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);
}