test: add database transactions on tests which were missing them (#1806)

This commit is contained in:
Régis Freyd
2018-09-09 23:04:54 +00:00
committed by GitHub
parent ba4923b9a4
commit 9fbc981e1f
16 changed files with 44 additions and 2 deletions
+3
View File
@@ -4,9 +4,12 @@ namespace Tests\Unit\Helpers;
use Tests\TestCase;
use App\Helpers\StringHelper;
use Illuminate\Foundation\Testing\DatabaseTransactions;
class StringHelperTest extends TestCase
{
use DatabaseTransactions;
public function test_it_builds_a_sql_query()
{
$array = [