Skip to content

Commit afb95c4

Browse files
committed
Merge pull request allure-framework#25 from tyz910/patch-2
allure-framework#24 Invalid test name generation
2 parents 918f877 + c55b28e commit afb95c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Yandex/Allure/Adapter/AllureAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ public function startTest(PHPUnit_Framework_Test $test)
215215
$suiteName = $this->suiteName;
216216
$methodName = $test->getName();
217217
$this->methodName = $methodName;
218-
$event = new TestCaseStartedEvent($this->uuid, get_class($test) . T_DOUBLE_COLON . $methodName);
218+
$event = new TestCaseStartedEvent($this->uuid, get_class($test) . "::" . $methodName);
219219
if (class_exists($suiteName, false) && method_exists($suiteName, $methodName)) {
220220
$annotationManager = new Annotation\AnnotationManager(
221221
Annotation\AnnotationProvider::getMethodAnnotations($suiteName, $methodName)

0 commit comments

Comments
 (0)