File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change 11
11
12
12
namespace FOS \HttpCache \Tests \Unit \ProxyClient ;
13
13
14
- use FOS \HttpCache \Exception \ExceptionCollection ;
15
14
use FOS \HttpCache \ProxyClient \Symfony ;
16
- use FOS \HttpCache \ProxyClient \Varnish ;
17
15
use FOS \HttpCache \Test \HttpClient \MockHttpAdapter ;
18
- use Guzzle \Http \Client ;
19
- use Guzzle \Http \Exception \CurlException ;
20
- use Guzzle \Http \Exception \MultiTransferException ;
21
- use Guzzle \Http \Exception \RequestException ;
22
- use Guzzle \Plugin \Mock \MockPlugin ;
23
- use Guzzle \Http \Message \Response ;
24
- use Guzzle \Http \Message \Request ;
25
16
use \Mockery ;
26
17
27
18
class SymfonyTest extends \PHPUnit_Framework_TestCase
@@ -34,9 +25,9 @@ class SymfonyTest extends \PHPUnit_Framework_TestCase
34
25
public function testPurge ()
35
26
{
36
27
$ ips = ['127.0.0.1:8080 ' , '123.123.123.2 ' ];
37
- $ varnish = new Varnish ($ ips , 'my_hostname.dev ' , $ this ->client );
28
+ $ symfony = new Symfony ($ ips , 'my_hostname.dev ' , $ this ->client );
38
29
39
- $ count = $ varnish ->purge ('/url/one ' )
30
+ $ count = $ symfony ->purge ('/url/one ' )
40
31
->purge ('/url/two ' , ['X-Foo ' => 'bar ' ])
41
32
->flush ()
42
33
;
You can’t perform that action at this time.
0 commit comments