File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/Yandex/Allure/Adapter Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -213,9 +213,10 @@ public function startTest(PHPUnit_Framework_Test $test)
213
213
{
214
214
if ($ test instanceof \PHPUnit_Framework_TestCase) {
215
215
$ suiteName = $ this ->suiteName ;
216
- $ methodName = $ test ->getName ();
217
- $ this ->methodName = $ methodName ;
218
- $ event = new TestCaseStartedEvent ($ this ->uuid , get_class ($ test ) . ":: " . $ methodName );
216
+ $ testName = $ test ->getName ();
217
+ $ methodName = $ this ->methodName = $ test ->getName (false );
218
+
219
+ $ event = new TestCaseStartedEvent ($ this ->uuid , $ testName );
219
220
if (class_exists ($ suiteName , false ) && method_exists ($ suiteName , $ methodName )) {
220
221
$ annotationManager = new Annotation \AnnotationManager (
221
222
Annotation \AnnotationProvider::getMethodAnnotations ($ suiteName , $ methodName )
You can’t perform that action at this time.
0 commit comments