Skip to content

Commit

Permalink
Merge branch 'main' into allure-grpc-streaming
Browse files Browse the repository at this point in the history
  • Loading branch information
dtuchs authored Mar 2, 2024
2 parents 55507f9 + 1c69799 commit faf35be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The following authors have created the source code of "Allure Java"
published and distributed by Qameta Software as the owner:
published and distributed by Qameta Software Inc as the owner:

* Dmitry Baev <[email protected]>
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public class AllureJunit4ListenerAspect {
@After("execution(org.junit.runner.notification.RunNotifier.new())")
public void addListener(final JoinPoint point) {
final RunNotifier notifier = (RunNotifier) point.getThis();
notifier.removeListener(allure);
notifier.addListener(allure);
if (RunNotifier.class.equals(notifier.getClass())) {
notifier.addListener(allure);
}
}

}

0 comments on commit faf35be

Please sign in to comment.