Skip to content

Commit

Permalink
Pass the testFile to executor for easier debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
polyfractal committed Jan 20, 2014
1 parent 67b29d3 commit f35d2f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Elasticsearch/Tests/YamlRunnerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public function testYaml()
echo " ".key($values)."\n";
ob_flush();
try {
$ret = $this->executeTestCase($values);
$ret = $this->executeTestCase($values, $testFile);
} catch (SetupSkipException $exception) {
// @TODO refactor this! This is a gross hack
// This allows executeTestCase to signal that it encountered
Expand Down Expand Up @@ -255,7 +255,7 @@ private function replaceWithStash($values, $stash)
return $values;
}

private function executeTestCase($test)
private function executeTestCase($test, $testFile)
{
$stash = array();
$response = array();
Expand Down

0 comments on commit f35d2f2

Please sign in to comment.