You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by al...@apache.org on 2023/04/06 01:48:50 UTC

[dubbo-samples] branch master updated: Remove invocation of deprecated org.junit.Assert.assertThat() (#814)

This is an automated email from the ASF dual-hosted git repository.

albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-samples.git


The following commit(s) were added to refs/heads/master by this push:
     new 77d7cfe8 Remove invocation of deprecated org.junit.Assert.assertThat() (#814)
77d7cfe8 is described below

commit 77d7cfe8083138b1442986335e94d3a00cb5d47b
Author: Andy Cheung <mi...@msn.cn>
AuthorDate: Thu Apr 6 09:48:45 2023 +0800

    Remove invocation of deprecated org.junit.Assert.assertThat() (#814)
---
 .../src/test/java/org/apache/dubbo/samples/mock/MockServicesIT.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/2-advanced/dubbo-samples-mock/src/test/java/org/apache/dubbo/samples/mock/MockServicesIT.java b/2-advanced/dubbo-samples-mock/src/test/java/org/apache/dubbo/samples/mock/MockServicesIT.java
index cf96e70a..3c94c89e 100644
--- a/2-advanced/dubbo-samples-mock/src/test/java/org/apache/dubbo/samples/mock/MockServicesIT.java
+++ b/2-advanced/dubbo-samples-mock/src/test/java/org/apache/dubbo/samples/mock/MockServicesIT.java
@@ -26,7 +26,7 @@ import org.springframework.test.context.ContextConfiguration;
 import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
 
 import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
+import static org.hamcrest.MatcherAssert.assertThat;
 
 @RunWith(SpringJUnit4ClassRunner.class)
 @ContextConfiguration(locations = "classpath*:spring/mock-consumer.xml")


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org