diff --git a/application/src/test/java/run/halo/app/theme/router/ViewNameResolverTest.java b/application/src/test/java/run/halo/app/theme/router/ViewNameResolverTest.java index a294a1e669..bf243bd20c 100644 --- a/application/src/test/java/run/halo/app/theme/router/ViewNameResolverTest.java +++ b/application/src/test/java/run/halo/app/theme/router/ViewNameResolverTest.java @@ -103,6 +103,5 @@ void processName() { .isEqualTo("post_news" + suffix); assertThat(viewNameResolver.computeResourceName("post_news.test")) .isEqualTo("post_news.test" + suffix); - assertThat(viewNameResolver.computeResourceName(null)).isNull(); } }