Skip to content

Commit

Permalink
Merge pull request #787 from creative-commoners/pulls/5.2/transaction…
Browse files Browse the repository at this point in the history
…less-test

Disable transactions in UserDefinedFormTest to prevent fixture leaks
  • Loading branch information
ScopeyNZ authored Jun 20, 2018
2 parents e4b87ba + 9812d43 commit 6df9410
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions tests/Model/UserDefinedFormTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
*/
class UserDefinedFormTest extends FunctionalTest
{
protected $usesTransactions = false;

protected static $fixture_file = '../UserFormsTest.yml';

protected static $required_extensions = [
Expand Down

0 comments on commit 6df9410

Please sign in to comment.