Skip to content

Commit 37eddf0

Browse files
committed
Merge pull request #255 from FriendsOfSymfony/symfony-test-cleanup
Clean up SymfonyTest (fix #254)
2 parents 5a3d88a + 3c6662c commit 37eddf0

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

tests/Unit/ProxyClient/SymfonyTest.php

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,8 @@
1111

1212
namespace FOS\HttpCache\Tests\Unit\ProxyClient;
1313

14-
use FOS\HttpCache\Exception\ExceptionCollection;
1514
use FOS\HttpCache\ProxyClient\Symfony;
16-
use FOS\HttpCache\ProxyClient\Varnish;
1715
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;
2516
use \Mockery;
2617

2718
class SymfonyTest extends \PHPUnit_Framework_TestCase
@@ -34,9 +25,9 @@ class SymfonyTest extends \PHPUnit_Framework_TestCase
3425
public function testPurge()
3526
{
3627
$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);
3829

39-
$count = $varnish->purge('/url/one')
30+
$count = $symfony->purge('/url/one')
4031
->purge('/url/two', ['X-Foo' => 'bar'])
4132
->flush()
4233
;

0 commit comments

Comments
 (0)