mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
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:
commit
6df941065f
@ -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
|
||||
|
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user