File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -426,7 +426,7 @@ public void DecideWhenConfigIsNull()
426
426
}
427
427
428
428
[ Test ]
429
- public void SeparateDecideShouldHaveSameNumberOfUpsSaveOnlyOneLookup ( )
429
+ public void SeparateDecideShouldHaveSameNumberOfUpsSaveAndLookup ( )
430
430
{
431
431
var experimentFlagKey = "double_single_variable_feature" ;
432
432
var rolloutFlagKey = "boolean_single_variable_feature" ;
@@ -457,7 +457,7 @@ public void SeparateDecideShouldHaveSameNumberOfUpsSaveOnlyOneLookup()
457
457
LoggerMock . Verify (
458
458
l => l . Log ( LogLevel . ERROR , "The UserProfileService returned an invalid map." ) ,
459
459
Times . Never ) ;
460
- userProfileServiceMock . Verify ( l => l . Lookup ( UserID ) , Times . Once ) ;
460
+ userProfileServiceMock . Verify ( l => l . Lookup ( UserID ) , Times . Exactly ( 2 ) ) ;
461
461
userProfileServiceMock . Verify ( l => l . Save ( It . IsAny < Dictionary < string , object > > ( ) ) ,
462
462
Times . Exactly ( 2 ) ) ;
463
463
Assert . AreEqual ( saveArgsCollector [ 0 ] , expectedUserProfileExperiment . ToMap ( ) ) ;
You can’t perform that action at this time.
0 commit comments