You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bu...@apache.org on 2020/07/13 19:14:33 UTC
[cxf] branch master updated: cxf-systests-uncategorized: fix test
[3]
This is an automated email from the ASF dual-hosted git repository.
buhhunyx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/master by this push:
new 108fdf8 cxf-systests-uncategorized: fix test [3]
108fdf8 is described below
commit 108fdf84a8e3cc5374f053214ad86f17fcb42998
Author: Alexey Markevich <bu...@gmail.com>
AuthorDate: Mon Jul 13 22:13:26 2020 +0300
cxf-systests-uncategorized: fix test [3]
---
.../src/test/java/org/apache/cxf/systest/mtom/ClientMtomXopTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/systests/uncategorized/src/test/java/org/apache/cxf/systest/mtom/ClientMtomXopTest.java b/systests/uncategorized/src/test/java/org/apache/cxf/systest/mtom/ClientMtomXopTest.java
index b25760d..36127d0 100644
--- a/systests/uncategorized/src/test/java/org/apache/cxf/systest/mtom/ClientMtomXopTest.java
+++ b/systests/uncategorized/src/test/java/org/apache/cxf/systest/mtom/ClientMtomXopTest.java
@@ -348,8 +348,8 @@ public class ClientMtomXopTest extends AbstractBusClientServerTestBase {
try {
final Holder<DataHandler> param = new Holder<>();
- URL fileURL = getClass().getResource("/测试.bmp");
- assertNotNull(getClass().getClassLoader().getClass().getName(), fileURL);
+ URL fileURL = ClientMtomXopTest.class.getResource("/测试.bmp");
+ assertNotNull(fileURL);
Object[] validationTypes = new Object[]{Boolean.TRUE, SchemaValidationType.IN, SchemaValidationType.BOTH};
for (Object validationType : validationTypes) {