20 lines
518 B
PHP
20 lines
518 B
PHP
<?php
|
|
|
|
namespace Tests;
|
|
|
|
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
|
|
|
|
abstract class TestCase extends BaseTestCase
|
|
{
|
|
use CreatesApplication;
|
|
|
|
/**
|
|
* Seed the transaction types when RefreshDatabase builds the test database:
|
|
* production always has them, the code refers to their ids directly, and
|
|
* Transaction::booted() refuses transactions with an unknown type.
|
|
*/
|
|
protected $seed = true;
|
|
|
|
protected $seeder = \Database\Seeders\TransactionTypesTableSeeder::class;
|
|
}
|