Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- Merge [4606].

  • Loading branch information...
commit 1f9e1cacd24086df0f334754836ea78b0962f3cb 1 parent 454b28b
@sebastianbergmann authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 PHPUnit/Extensions/SeleniumTestCase.php
View
12 PHPUnit/Extensions/SeleniumTestCase.php
@@ -172,7 +172,7 @@ public static function suite($className)
foreach ($files as $file) {
$browserSuite->addTest(
- new $className($file, array(), $browser),
+ new $className($file, array(), '', $browser),
$classGroups
);
}
@@ -208,9 +208,9 @@ public static function suite($className)
$className . '::' . $name
);
- foreach ($data as $_data) {
+ foreach ($data as $_dataName => $_data) {
$dataSuite->addTest(
- new $className($name, $_data, $browser),
+ new $className($name, $_data, $_dataName, $browser),
$groups
);
}
@@ -221,7 +221,7 @@ public static function suite($className)
// Test method without @dataProvider.
else {
$browserSuite->addTest(
- new $className($name, array(), $browser), $groups
+ new $className($name, array(), '', $browser), $groups
);
}
}
@@ -246,9 +246,9 @@ public static function suite($className)
$className . '::' . $name
);
- foreach ($data as $_data) {
+ foreach ($data as $_dataName => $_data) {
$dataSuite->addTest(
- new $className($name, $_data),
+ new $className($name, $_data, $_dataName),
$groups
);
}
Please sign in to comment.
Something went wrong with that request. Please try again.