-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from FriendsOfSymfony/testcase
Add ProxyTestCase
- Loading branch information
Showing
18 changed files
with
795 additions
and
20 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
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
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,27 @@ | ||
<?xml version="1.0" ?> | ||
|
||
<container xmlns="http://symfony.com/schema/dic/services" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> | ||
|
||
<parameters> | ||
<parameter key="fos_http_cache.test.proxy_server.nginx.class">FOS\HttpCache\Test\Proxy\NginxProxy</parameter> | ||
</parameters> | ||
|
||
<services> | ||
<service id="fos_http_cache.test.proxy_server.nginx" | ||
class="%fos_http_cache.test.proxy_server.nginx.class%"> | ||
<argument on-invalid="ignore">%fos_http_cache.test.proxy_server.nginx.config_file%</argument> | ||
<call method="setBinary"> | ||
<argument on-invalid="ignore">%fos_http_cache.test.proxy_server.nginx.binary%</argument> | ||
</call> | ||
<call method="setPort"> | ||
<argument>%fos_http_cache.test.proxy_server.nginx.port%</argument> | ||
</call> | ||
<call method="setIp"> | ||
<argument>%fos_http_cache.test.proxy_server.nginx.ip%</argument> | ||
</call> | ||
</service> | ||
</services> | ||
|
||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" ?> | ||
|
||
<container xmlns="http://symfony.com/schema/dic/services" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> | ||
|
||
<parameters> | ||
<parameter key="fos_http_cache.test.client.class">Guzzle\Http\Client</parameter> | ||
<parameter key="fos_http_cache.test.client.curlopt_forbid_reuse" type="constant">CURLOPT_FORBID_REUSE</parameter> | ||
</parameters> | ||
|
||
<services> | ||
<service id="fos_http_cache.test.client.abstract" | ||
class="%fos_http_cache.test.client.class%" | ||
abstract="true"> | ||
<argument /><!-- base_url --> | ||
<argument type="collection"> | ||
<argument key="%fos_http_cache.test.client.curlopt_forbid_reuse%">true</argument> | ||
</argument> | ||
</service> | ||
</services> | ||
|
||
</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
Oops, something went wrong.