|
@@ -54,12 +54,12 @@ |
|
|
block discarded – undo |
|
54
|
54
|
]); |
|
55
|
55
|
$dataTest->getMetadata()->setCurrent(['actor' => $testActor, 'example' => $example]); |
|
56
|
56
|
$step = new Comment('', $dataTest->getMetadata()->getCurrent('example')); |
|
57
|
|
- $dataTest->getScenario()->setFeature($dataTest->getSpecFromMethod() . ' | '. $step->getArgumentsAsString(100)); |
|
|
57
|
+ $dataTest->getScenario()->setFeature($dataTest->getSpecFromMethod() . ' | ' . $step->getArgumentsAsString(100)); |
|
58
|
58
|
$groups = Annotation::forMethod($testClass, $testMethod)->fetchAll('group'); |
|
59
|
59
|
$dataProvider->addTest($dataTest, $groups); |
|
60
|
60
|
} |
|
61
|
61
|
$tests[$id] = $dataProvider; |
|
62
|
|
- } catch(\Exception $e) { |
|
|
62
|
+ } catch (\Exception $e) { |
|
63
|
63
|
throw new TestParseException( |
|
64
|
64
|
$testFile, "DataProvider for ${testClass}->${testMethod} is invalid or not callable" |
|
65
|
65
|
. PHP_EOL . |
Please login to merge, or discard this patch.