-
-
Notifications
You must be signed in to change notification settings - Fork 455
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
split tests to test well known services one at a time
- Loading branch information
Showing
18 changed files
with
294 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...DependencyInjection/Fixtures/config/xml/well_known_schema_filter_default_tables_cache.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" ?> | ||
|
||
<srv:container xmlns="http://symfony.com/schema/dic/doctrine" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:srv="http://symfony.com/schema/dic/services" | ||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd | ||
http://symfony.com/schema/dic/doctrine http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd"> | ||
|
||
<config> | ||
<dbal default-connection="connection1"> | ||
<connection name="connection1" schema-filter="~^(?!t_)~" /> | ||
<connection name="connection2" /> | ||
<connection name="connection3" /> | ||
</dbal> | ||
</config> | ||
|
||
<srv:services> | ||
<srv:service id="well_known_filter" alias="doctrine.dbal.well_known_schema_asset_filter" public="true" /> | ||
<srv:service id="symfony.cache" class="Symfony\Component\Cache\Adapter\PdoAdapter" /> | ||
</srv:services> | ||
</srv:container> |
21 changes: 21 additions & 0 deletions
21
.../DependencyInjection/Fixtures/config/xml/well_known_schema_filter_default_tables_lock.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" ?> | ||
|
||
<srv:container xmlns="http://symfony.com/schema/dic/doctrine" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:srv="http://symfony.com/schema/dic/services" | ||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd | ||
http://symfony.com/schema/dic/doctrine http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd"> | ||
|
||
<config> | ||
<dbal default-connection="connection1"> | ||
<connection name="connection1" schema-filter="~^(?!t_)~" /> | ||
<connection name="connection2" /> | ||
<connection name="connection3" /> | ||
</dbal> | ||
</config> | ||
|
||
<srv:services> | ||
<srv:service id="well_known_filter" alias="doctrine.dbal.well_known_schema_asset_filter" public="true" /> | ||
<srv:service id="symfony.lock" class="Symfony\Component\Lock\Store\PdoStore" /> | ||
</srv:services> | ||
</srv:container> |
21 changes: 21 additions & 0 deletions
21
...ndencyInjection/Fixtures/config/xml/well_known_schema_filter_default_tables_messenger.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" ?> | ||
|
||
<srv:container xmlns="http://symfony.com/schema/dic/doctrine" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:srv="http://symfony.com/schema/dic/services" | ||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd | ||
http://symfony.com/schema/dic/doctrine http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd"> | ||
|
||
<config> | ||
<dbal default-connection="connection1"> | ||
<connection name="connection1" schema-filter="~^(?!t_)~" /> | ||
<connection name="connection2" /> | ||
<connection name="connection3" /> | ||
</dbal> | ||
</config> | ||
|
||
<srv:services> | ||
<srv:service id="well_known_filter" alias="doctrine.dbal.well_known_schema_asset_filter" public="true" /> | ||
<srv:service id="symfony.messenger" class="Symfony\Component\Messenger\Transport\Doctrine\Connection" /> | ||
</srv:services> | ||
</srv:container> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...pendencyInjection/Fixtures/config/xml/well_known_schema_filter_overridden_tables_lock.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" ?> | ||
|
||
<srv:container xmlns="http://symfony.com/schema/dic/doctrine" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:srv="http://symfony.com/schema/dic/services" | ||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd | ||
http://symfony.com/schema/dic/doctrine http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd"> | ||
|
||
<config> | ||
<dbal default-connection="connection1"> | ||
<connection name="connection1" schema-filter="~^(?!t_)~" /> | ||
<connection name="connection2" /> | ||
<connection name="connection3" /> | ||
</dbal> | ||
</config> | ||
|
||
<srv:services> | ||
<srv:service id="well_known_filter" alias="doctrine.dbal.well_known_schema_asset_filter" public="true" /> | ||
<srv:service id="symfony.lock" class="Symfony\Component\Lock\Store\PdoStore"> | ||
<srv:argument /> | ||
<srv:argument type="collection"> | ||
<srv:argument key="db_table">app_locks</srv:argument> | ||
</srv:argument> | ||
</srv:service> | ||
</srv:services> | ||
</srv:container> |
25 changes: 25 additions & 0 deletions
25
...ncyInjection/Fixtures/config/xml/well_known_schema_filter_overridden_tables_messenger.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" ?> | ||
|
||
<srv:container xmlns="http://symfony.com/schema/dic/doctrine" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:srv="http://symfony.com/schema/dic/services" | ||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd | ||
http://symfony.com/schema/dic/doctrine http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd"> | ||
|
||
<config> | ||
<dbal default-connection="connection1"> | ||
<connection name="connection1" schema-filter="~^(?!t_)~" /> | ||
<connection name="connection2" /> | ||
<connection name="connection3" /> | ||
</dbal> | ||
</config> | ||
|
||
<srv:services> | ||
<srv:service id="well_known_filter" alias="doctrine.dbal.well_known_schema_asset_filter" public="true" /> | ||
<srv:service id="symfony.messenger" class="Symfony\Component\Messenger\Transport\Doctrine\Connection"> | ||
<srv:argument type="collection"> | ||
<srv:argument key="table_name">app_messages</srv:argument> | ||
</srv:argument> | ||
</srv:service> | ||
</srv:services> | ||
</srv:container> |
26 changes: 26 additions & 0 deletions
26
...dencyInjection/Fixtures/config/xml/well_known_schema_filter_overridden_tables_session.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" ?> | ||
|
||
<srv:container xmlns="http://symfony.com/schema/dic/doctrine" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:srv="http://symfony.com/schema/dic/services" | ||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd | ||
http://symfony.com/schema/dic/doctrine http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd"> | ||
|
||
<config> | ||
<dbal default-connection="connection1"> | ||
<connection name="connection1" schema-filter="~^(?!t_)~" /> | ||
<connection name="connection2" /> | ||
<connection name="connection3" /> | ||
</dbal> | ||
</config> | ||
|
||
<srv:services> | ||
<srv:service id="well_known_filter" alias="doctrine.dbal.well_known_schema_asset_filter" public="true" /> | ||
<srv:service id="symfony.session" class="Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler"> | ||
<srv:argument /> | ||
<srv:argument type="collection"> | ||
<srv:argument key="db_table">app_session</srv:argument> | ||
</srv:argument> | ||
</srv:service> | ||
</srv:services> | ||
</srv:container> |
16 changes: 16 additions & 0 deletions
16
...DependencyInjection/Fixtures/config/yml/well_known_schema_filter_default_tables_cache.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
doctrine: | ||
dbal: | ||
default_connection: connection1 | ||
connections: | ||
connection1: | ||
schema_filter: ~^(?!t_)~ | ||
connection2: [] | ||
connection3: [] | ||
|
||
services: | ||
well_known_filter: | ||
alias: 'doctrine.dbal.well_known_schema_asset_filter' | ||
public: true | ||
|
||
symfony.cache: | ||
class: 'Symfony\Component\Cache\Adapter\PdoAdapter' |
16 changes: 16 additions & 0 deletions
16
.../DependencyInjection/Fixtures/config/yml/well_known_schema_filter_default_tables_lock.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
doctrine: | ||
dbal: | ||
default_connection: connection1 | ||
connections: | ||
connection1: | ||
schema_filter: ~^(?!t_)~ | ||
connection2: [] | ||
connection3: [] | ||
|
||
services: | ||
well_known_filter: | ||
alias: 'doctrine.dbal.well_known_schema_asset_filter' | ||
public: true | ||
|
||
symfony.lock: | ||
class: 'Symfony\Component\Lock\Store\PdoStore' |
16 changes: 16 additions & 0 deletions
16
...ndencyInjection/Fixtures/config/yml/well_known_schema_filter_default_tables_messenger.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
doctrine: | ||
dbal: | ||
default_connection: connection1 | ||
connections: | ||
connection1: | ||
schema_filter: ~^(?!t_)~ | ||
connection2: [] | ||
connection3: [] | ||
|
||
services: | ||
well_known_filter: | ||
alias: 'doctrine.dbal.well_known_schema_asset_filter' | ||
public: true | ||
|
||
symfony.messenger: | ||
class: 'Symfony\Component\Messenger\Transport\Doctrine\Connection' |
16 changes: 16 additions & 0 deletions
16
...pendencyInjection/Fixtures/config/yml/well_known_schema_filter_default_tables_session.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
doctrine: | ||
dbal: | ||
default_connection: connection1 | ||
connections: | ||
connection1: | ||
schema_filter: ~^(?!t_)~ | ||
connection2: [] | ||
connection3: [] | ||
|
||
services: | ||
well_known_filter: | ||
alias: 'doctrine.dbal.well_known_schema_asset_filter' | ||
public: true | ||
|
||
symfony.session: | ||
class: 'Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler' |
38 changes: 0 additions & 38 deletions
38
Tests/DependencyInjection/Fixtures/config/yml/well_known_schema_filter_overridden_tables.yml
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
...endencyInjection/Fixtures/config/yml/well_known_schema_filter_overridden_tables_cache.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
doctrine: | ||
dbal: | ||
default_connection: connection1 | ||
connections: | ||
connection1: | ||
schema_filter: ~^(?!t_)~ | ||
connection2: [] | ||
connection3: [] | ||
|
||
services: | ||
well_known_filter: | ||
alias: 'doctrine.dbal.well_known_schema_asset_filter' | ||
public: true | ||
|
||
symfony.cache: | ||
class: 'Symfony\Component\Cache\Adapter\PdoAdapter' | ||
arguments: | ||
- ~ | ||
- ~ | ||
- ~ | ||
- db_table: app_cache |
Oops, something went wrong.