chore: clarify redis-only session store
This commit is contained in:
@@ -376,6 +376,18 @@ class MavenModuleProfileTest {
|
||||
.doesNotContain("Redis/in-memory");
|
||||
}
|
||||
|
||||
@Test
|
||||
void sessionCorePomDescriptionDoesNotAdvertiseRedisAsFallback() throws Exception {
|
||||
Document sessionCorePom = modulePom("modules/core/session-core/pom.xml");
|
||||
String description = firstDirectChild(sessionCorePom.getDocumentElement(), "description").getTextContent();
|
||||
|
||||
assertThat(description)
|
||||
.contains("Redis SessionStore")
|
||||
.doesNotContain("兜底")
|
||||
.doesNotContain("fallback")
|
||||
.doesNotContain("memory");
|
||||
}
|
||||
|
||||
@Test
|
||||
void rootPomDescriptionMatchesCurrentRuntimeStack() throws Exception {
|
||||
Document pom = rootPom();
|
||||
|
||||
Reference in New Issue
Block a user