diff --git a/testable-core/src/main/java/com/alibaba/testable/core/model/MockScope.java b/testable-core/src/main/java/com/alibaba/testable/core/model/MockScope.java index dad5456..c51b8ec 100644 --- a/testable-core/src/main/java/com/alibaba/testable/core/model/MockScope.java +++ b/testable-core/src/main/java/com/alibaba/testable/core/model/MockScope.java @@ -14,7 +14,7 @@ public enum MockScope { public static MockScope of(String scope) { try { - return valueOf(scope); + return valueOf(scope.toUpperCase()); } catch (IllegalArgumentException e) { return GLOBAL; }