File tree Expand file tree Collapse file tree
core/src/test/java/com/google/adk/sessions Expand file tree Collapse file tree Original file line number Diff line number Diff 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 (
You can’t perform that action at this time.
0 commit comments