Skip to content

Commit fe30b2a

Browse files
Update InMemorySessionServiceTest.java
1 parent 0cf001f commit fe30b2a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

core/src/test/java/com/google/adk/sessions/InMemorySessionServiceTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,7 @@ public void deleteSession_cleansUpEmptyParentMaps() throws Exception {
274274

275275
Session session = sessionService.createSession("app-name", "user-id").blockingGet();
276276

277-
sessionService
278-
.deleteSession(session.appName(), session.userId(), session.id())
279-
.blockingAwait();
277+
sessionService.deleteSession(session.appName(), session.userId(), session.id()).blockingAwait();
280278

281279
// Use reflection to access the private 'sessions' field
282280
Field field = InMemorySessionService.class.getDeclaredField("sessions");
@@ -296,7 +294,9 @@ public void deleteSession_doesNotRemoveUserMapWhenOtherSessionsExist() throws Ex
296294
Session session2 = sessionService.createSession("app-name", "user-id").blockingGet();
297295

298296
// Delete only one of the two sessions
299-
sessionService.deleteSession(session1.appName(), session1.userId(), session1.id()).blockingAwait();
297+
sessionService
298+
.deleteSession(session1.appName(), session1.userId(), session1.id())
299+
.blockingAwait();
300300

301301
// session2 should still be retrievable
302302
assertThat(

0 commit comments

Comments
 (0)