mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
removing services_test.yaml from symfony/phpunit-bridge recipe
Since Symfony 4.1, you can fetch private services from a test using a special method - creating public aliases is not required anymore.
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
services:
|
||||
_defaults:
|
||||
public: true
|
||||
|
||||
# If you need to access services in a test, create an alias
|
||||
# and then fetch that alias from the container. As a convention,
|
||||
# aliases are prefixed with test. For example:
|
||||
#
|
||||
# test.App\Service\MyService: '@App\Service\MyService'
|
||||
@@ -2,7 +2,6 @@
|
||||
"copy-from-recipe": {
|
||||
".env.test": ".env.test",
|
||||
"bin/": "%BIN_DIR%/",
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"phpunit.xml.dist": "phpunit.xml.dist",
|
||||
"tests/": "tests/"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user