Skip to content

Commit 3c265e1

Browse files
committed
Fix InMemoryWebSessionStoreTests.startsSessionImplicitly() test
1 parent 222702f commit 3c265e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-web/src/test/java/org/springframework/web/server/session/InMemoryWebSessionStoreTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ void startsSessionExplicitly() {
5353
void startsSessionImplicitly() {
5454
WebSession session = this.store.createWebSession().block();
5555
assertThat(session).isNotNull();
56-
session.start();
56+
// We intentionally do not invoke start().
57+
// session.start();
5758
session.getAttributes().put("foo", "bar");
5859
assertThat(session.isStarted()).isTrue();
5960
}

0 commit comments

Comments
 (0)