Disable transactions in UserDefinedFormTest to prevent fixture leaks

This commit is contained in:
Robbie Averill 2018-06-20 17:08:20 +12:00
parent e4b87bae03
commit 9812d43a3f
2 changed files with 4 additions and 2 deletions

View File

@ -11,9 +11,9 @@ matrix:
- php: 7.0
env: DB=MYSQL RECIPE_VERSION=1.1.x-dev PHPUNIT_TEST=1
- php: 7.1
env: DB=MYSQL RECIPE_VERSION=1.2.x-dev PHPUNIT_COVERAGE_TEST=1
env: DB=MYSQL RECIPE_VERSION=4.2.x-dev PHPUNIT_COVERAGE_TEST=1
- php: 7.2
env: DB=MYSQL RECIPE_VERSION=1.x-dev PHPUNIT_TEST=1
env: DB=MYSQL RECIPE_VERSION=4.x-dev PHPUNIT_TEST=1
before_script:
# Init PHP

View File

@ -29,6 +29,8 @@ use SilverStripe\Versioned\Versioned;
*/
class UserDefinedFormTest extends FunctionalTest
{
protected $usesTransactions = false;
protected static $fixture_file = '../UserFormsTest.yml';
protected static $required_extensions = [