Skip to content

Commit 07a0d8a

Browse files
Merge branch '4.3' into HEAD
* 4.3: typos bis
2 parents 8aaad0c + fc3af0d commit 07a0d8a

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

Tests/AbstractBrowserTest.php

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -859,30 +859,3 @@ public function testInheritedClassCallSubmitWithTwoArguments()
859859
$clientChild->submit($clientChild->request('GET', 'http://www.example.com/foo/foobar')->filter('input')->form());
860860
}
861861
}
862-
863-
class ClassThatInheritClient extends AbstractBrowser
864-
{
865-
protected $nextResponse = null;
866-
867-
public function setNextResponse(Response $response)
868-
{
869-
$this->nextResponse = $response;
870-
}
871-
872-
protected function doRequest($request): Response
873-
{
874-
if (null === $this->nextResponse) {
875-
return new Response();
876-
}
877-
878-
$response = $this->nextResponse;
879-
$this->nextResponse = null;
880-
881-
return $response;
882-
}
883-
884-
public function submit(DomCrawlerForm $form, array $values = []): Crawler
885-
{
886-
return parent::submit($form, $values);
887-
}
888-
}

0 commit comments

Comments
 (0)