Skip to content

Commit

Permalink
minor #23172 Fix AutowiringTypesTest transient tests (nicolas-grekas)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.3 branch.

Discussion
----------

Fix AutowiringTypesTest transient tests

| Q             | A
| ------------- | ---
| Branch?       | 3.3
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

In 3.3, we have a race condition because FrameworkBundle and SecurityBundle use the same test folder for their respective AutowiringTypesTest.

Commits
-------

408e56e Fix AutowiringTypesTest transient tests
  • Loading branch information
fabpot committed Jun 14, 2017
2 parents 1a3d42f + 408e56e commit a63400a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -68,6 +68,6 @@ protected static function createKernel(array $options = array())

protected static function getVarDir()
{
return substr(strrchr(get_called_class(), '\\'), 1);
return 'FB'.substr(strrchr(get_called_class(), '\\'), 1);
}
}
Expand Up @@ -68,6 +68,6 @@ protected static function createKernel(array $options = array())

protected static function getVarDir()
{
return substr(strrchr(get_called_class(), '\\'), 1);
return 'SB'.substr(strrchr(get_called_class(), '\\'), 1);
}
}

0 comments on commit a63400a

Please sign in to comment.