From 1d35e48755bd7d56ec550851310c80c777cd651c Mon Sep 17 00:00:00 2001 From: WouterJ Date: Mon, 29 Dec 2014 11:00:26 +0100 Subject: [PATCH] Clean up testing --- .../DomCrawler/Tests/CrawlerTest.php | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/src/Symfony/Component/DomCrawler/Tests/CrawlerTest.php b/src/Symfony/Component/DomCrawler/Tests/CrawlerTest.php index e019ca95ef..e263b8edde 100644 --- a/src/Symfony/Component/DomCrawler/Tests/CrawlerTest.php +++ b/src/Symfony/Component/DomCrawler/Tests/CrawlerTest.php @@ -844,13 +844,22 @@ HTML; ); } - public function testBaseTagWithForm() + /** + * @dataProvider getBaseTagWithFormData + */ + public function testBaseTagWithForm($baseValue, $actionValue, $expectedUri, $currentUri = null, $description = null) { - $crawler = new Crawler('