mirror of
https://github.com/cydrobolt/polr.git
synced 2024-11-09 11:42:28 +01:00
Rollback db transactions by test cases
This commit is contained in:
parent
1e8f9d9a9c
commit
fc62f2d5e2
@ -1,4 +1,6 @@
|
||||
<?php
|
||||
use Illuminate\Foundation\Testing\DatabaseMigrations;
|
||||
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
||||
|
||||
class TestCase extends Laravel\Lumen\Testing\TestCase
|
||||
{
|
||||
@ -7,6 +9,8 @@ class TestCase extends Laravel\Lumen\Testing\TestCase
|
||||
*
|
||||
* @return \Laravel\Lumen\Application
|
||||
*/
|
||||
use DatabaseTransactions;
|
||||
|
||||
public function createApplication() {
|
||||
return require __DIR__.'/../bootstrap/app.php';
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ SESSION_DRIVER=file
|
||||
QUEUE_DRIVER=database
|
||||
|
||||
# Do not touch
|
||||
POLR_RELDATE=January 18, 2016
|
||||
POLR_RELDATE=February 14, 2016
|
||||
POLR_VERSION=Travis CI
|
||||
POLR_BASE=32
|
||||
POLR_SECRET_BYTES=2
|
||||
|
Loading…
Reference in New Issue
Block a user