From 675920264b3350900a125eb4ffe8e89893a180f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E5=86=B7?= Date: Tue, 18 Feb 2020 18:11:17 +0800 Subject: [PATCH] edit test --- .../com/alibaba/cloud/sentinel/SentinelBeanAutowiredTests.java | 2 +- .../com/alibaba/cloud/sentinel/SentinelDataSourceTests.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-cloud-alibaba-sentinel/src/test/java/com/alibaba/cloud/sentinel/SentinelBeanAutowiredTests.java b/spring-cloud-alibaba-sentinel/src/test/java/com/alibaba/cloud/sentinel/SentinelBeanAutowiredTests.java index a971b52f3..899dde606 100644 --- a/spring-cloud-alibaba-sentinel/src/test/java/com/alibaba/cloud/sentinel/SentinelBeanAutowiredTests.java +++ b/spring-cloud-alibaba-sentinel/src/test/java/com/alibaba/cloud/sentinel/SentinelBeanAutowiredTests.java @@ -74,7 +74,7 @@ public class SentinelBeanAutowiredTests { assertThat(sentinelProperties.getFilter().getOrder()).isEqualTo(111); assertThat(sentinelProperties.getFilter().getUrlPatterns().size()).isEqualTo(1); assertThat(sentinelProperties.getFilter().getUrlPatterns().get(0)) - .isEqualTo("/*"); + .isEqualTo("/**"); } @Test diff --git a/spring-cloud-alibaba-sentinel/src/test/java/com/alibaba/cloud/sentinel/SentinelDataSourceTests.java b/spring-cloud-alibaba-sentinel/src/test/java/com/alibaba/cloud/sentinel/SentinelDataSourceTests.java index 189d52228..21340cfbc 100644 --- a/spring-cloud-alibaba-sentinel/src/test/java/com/alibaba/cloud/sentinel/SentinelDataSourceTests.java +++ b/spring-cloud-alibaba-sentinel/src/test/java/com/alibaba/cloud/sentinel/SentinelDataSourceTests.java @@ -70,7 +70,7 @@ public class SentinelDataSourceTests { .isEqualTo(Integer.MIN_VALUE); assertThat(sentinelProperties.getFilter().getUrlPatterns().size()).isEqualTo(1); assertThat(sentinelProperties.getFilter().getUrlPatterns().get(0)) - .isEqualTo("/*"); + .isEqualTo("/**"); } @Test