wip tests

This commit is contained in:
Victor Gonzalez
2019-01-28 10:02:14 -05:00
parent 6a0932af37
commit 02867f5be7
4 changed files with 72 additions and 0 deletions

15
tests/TestCase.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
namespace distinctm\LaravelDataSync\Tests;
class TestCase extends \Orchestra\Testbench\TestCase
{
protected function getEnvironmentSetUp($app)
{
$app['config']->set('database.default', 'testdb');
$app['config']->set('database.connections.testdb', [
'driver' => 'sqlite',
'database' => ':memory:'
]);
}
}