akaunting/tests/TestCase.php

19 lines
376 B
PHP
Raw Normal View History

2017-09-14 22:21:00 +03:00
<?php
namespace Tests;
2018-07-14 13:22:33 +03:00
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
2017-09-14 22:21:00 +03:00
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
2018-07-14 13:22:33 +03:00
use CreatesApplication, DatabaseMigrations;
protected function setUp()
{
parent::setUp();
$this->artisan('db:seed');
}
2017-09-14 22:21:00 +03:00
}