From 7ba77ecc0d8b6c69af46d578f5c1ed04faa39cb7 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Fri, 6 Sep 2019 12:24:45 +0200 Subject: [PATCH] typos bis --- .../BrowserKit/Tests/AbstractBrowserTest.php | 27 ------------------- 1 file changed, 27 deletions(-) diff --git a/src/Symfony/Component/BrowserKit/Tests/AbstractBrowserTest.php b/src/Symfony/Component/BrowserKit/Tests/AbstractBrowserTest.php index 39875600c1..ea9337fa79 100644 --- a/src/Symfony/Component/BrowserKit/Tests/AbstractBrowserTest.php +++ b/src/Symfony/Component/BrowserKit/Tests/AbstractBrowserTest.php @@ -858,30 +858,3 @@ class AbstractBrowserTest extends TestCase $clientChild->submit($clientChild->request('GET', 'http://www.example.com/foo/foobar')->filter('input')->form()); } } - -class ClassThatInheritClient extends AbstractBrowser -{ - protected $nextResponse = null; - - public function setNextResponse(Response $response) - { - $this->nextResponse = $response; - } - - protected function doRequest($request) - { - if (null === $this->nextResponse) { - return new Response(); - } - - $response = $this->nextResponse; - $this->nextResponse = null; - - return $response; - } - - public function submit(DomCrawlerForm $form, array $values = []) - { - return parent::submit($form, $values); - } -}