Merge pull request #787 from creative-commoners/pulls/5.2/transactionless-test

Disable transactions in UserDefinedFormTest to prevent fixture leaks
This commit is contained in:
Guy Marriott 2018-06-20 17:48:07 +12:00 committed by GitHub
commit 6df941065f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 = [