From aaacb86febc5d533009fd00b75ff9e5d0e46425a Mon Sep 17 00:00:00 2001 From: Dmitry Baev Date: Wed, 5 Feb 2020 19:12:55 +0300 Subject: [PATCH] merge labels for annotation processor --- src/Yandex/Allure/Adapter/Annotation/AnnotationManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Yandex/Allure/Adapter/Annotation/AnnotationManager.php b/src/Yandex/Allure/Adapter/Annotation/AnnotationManager.php index 4794b2f..cfb8be2 100644 --- a/src/Yandex/Allure/Adapter/Annotation/AnnotationManager.php +++ b/src/Yandex/Allure/Adapter/Annotation/AnnotationManager.php @@ -115,7 +115,7 @@ public function updateTestCaseEvent(TestCaseStartedEvent $event) } if ($this->areLabelsPresent()) { - $event->setLabels($this->getLabels()); + $event->setLabels(array_merge($event->getLabels(), $this->getLabels())); } if ($this->areParametersPresent()) {