@@ -39,11 +39,9 @@ public void EmptyHistory_Returns_NeedsHistoryInResponse()
3939 using var extendedSessions = new ExtendedSessionsCache ( ) ;
4040
4141 // No history and without extended sessions enabled
42- var orchestratorRequest = CreateOrchestratorRequest ( [ ] ) ;
42+ Protobuf . OrchestratorRequest orchestratorRequest = CreateOrchestratorRequest ( [ ] ) ;
4343 orchestratorRequest . Properties . Add ( new MapField < string , Value > ( ) {
44- { "IncludePastEvents" , Value . ForBool ( false ) } ,
45- { "ExtendedSession" , Value . ForBool ( false ) } ,
46- { "ExtendedSessionIdleTimeoutInSeconds" , Value . ForNumber ( DefaultExtendedSessionIdleTimeoutInSeconds ) } } ) ;
44+ { "IncludePastEvents" , Value . ForBool ( false ) } } ) ;
4745 byte [ ] requestBytes = orchestratorRequest . ToByteArray ( ) ;
4846 string requestString = Convert . ToBase64String ( requestBytes ) ;
4947 string stringResponse = GrpcOrchestrationRunner . LoadAndRun ( requestString , new SimpleOrchestrator ( ) , extendedSessions ) ;
@@ -52,7 +50,6 @@ public void EmptyHistory_Returns_NeedsHistoryInResponse()
5250 Assert . False ( extendedSessions . IsInitialized ( ) ) ;
5351
5452 // No history but with extended sessions enabled
55- orchestratorRequest . Properties . Clear ( ) ;
5653 orchestratorRequest . Properties . Add ( new MapField < string , Value > ( ) {
5754 { "ExtendedSession" , Value . ForBool ( true ) } ,
5855 { "ExtendedSessionIdleTimeoutInSeconds" , Value . ForNumber ( DefaultExtendedSessionIdleTimeoutInSeconds ) } } ) ;
@@ -68,7 +65,7 @@ public void EmptyHistory_Returns_NeedsHistoryInResponse()
6865 public void MalformedRequestParameters_Means_NoExtendedSessionsStored ( )
6966 {
7067 using var extendedSessions = new ExtendedSessionsCache ( ) ;
71- var orchestratorRequest = CreateOrchestratorRequest ( [ ] ) ;
68+ Protobuf . OrchestratorRequest orchestratorRequest = CreateOrchestratorRequest ( [ ] ) ;
7269
7370 // Misspelled extended session timeout key
7471 orchestratorRequest . Properties . Add ( new MapField < string , Value > ( ) {
0 commit comments