You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2021/05/26 00:38:50 UTC
[cxf] branch 3.3.x-fixes updated: Fixing post-cherrypicking issues
(CXF-8540)
This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch 3.3.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/3.3.x-fixes by this push:
new f55f070 Fixing post-cherrypicking issues (CXF-8540)
f55f070 is described below
commit f55f07079cbd48e3e5c477d85864291166c0396d
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Tue May 25 20:38:29 2021 -0400
Fixing post-cherrypicking issues (CXF-8540)
---
.../java/org/apache/cxf/ext/logging/DefaultLogEventMapperTest.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/rt/features/logging/src/test/java/org/apache/cxf/ext/logging/DefaultLogEventMapperTest.java b/rt/features/logging/src/test/java/org/apache/cxf/ext/logging/DefaultLogEventMapperTest.java
index 83a395c..ead19b2 100644
--- a/rt/features/logging/src/test/java/org/apache/cxf/ext/logging/DefaultLogEventMapperTest.java
+++ b/rt/features/logging/src/test/java/org/apache/cxf/ext/logging/DefaultLogEventMapperTest.java
@@ -29,6 +29,8 @@ import org.apache.cxf.message.MessageImpl;
import org.junit.Assert;
import org.junit.Test;
+import static org.junit.Assert.assertEquals;
+
public class DefaultLogEventMapperTest {
@Test
@@ -55,7 +57,7 @@ public class DefaultLogEventMapperTest {
exchange.put("org.apache.cxf.rs.security.cors.CrossOriginResourceSharingFilter", "preflight_passed");
message.setExchange(exchange);
exchange.setOutMessage(message);
- LogEvent event = mapper.map(message, Collections.emptySet());
+ LogEvent event = mapper.map(message);
assertEquals(EventType.RESP_OUT, event.getType());
}