@@ -28,12 +28,12 @@ public void NewValuesTests()
28
28
var userId = "toto" ;
29
29
var addresses = context ! . ShouldRunWith ( security . Object , userId : userId ) ;
30
30
addresses . Should ( ) . HaveCount ( 1 ) ;
31
- addresses . Should ( ) . Contain ( new KeyValuePair < string , string > ( AddressesConstants . UserId , userId ) ) ;
31
+ addresses . Should ( ) . Contain ( new KeyValuePair < string , object > ( AddressesConstants . UserId , userId ) ) ;
32
32
context . CommitUserRuns ( addresses , false ) ;
33
33
userId = "tata" ;
34
34
// should run with a different value
35
35
addresses = context ! . ShouldRunWith ( security . Object , userId : userId ) ;
36
- addresses . Should ( ) . Contain ( new KeyValuePair < string , string > ( AddressesConstants . UserId , userId ) ) ;
36
+ addresses . Should ( ) . Contain ( new KeyValuePair < string , object > ( AddressesConstants . UserId , userId ) ) ;
37
37
addresses . Should ( ) . HaveCount ( 1 ) ;
38
38
context . CommitUserRuns ( addresses , false ) ;
39
39
@@ -55,17 +55,17 @@ public void NewValuesSessionTests()
55
55
var userId = "toto" ;
56
56
var addresses = context ! . ShouldRunWith ( security . Object , userId : userId , fromSdk : true ) ;
57
57
addresses . Should ( ) . HaveCount ( 1 ) ;
58
- addresses . Should ( ) . Contain ( new KeyValuePair < string , string > ( AddressesConstants . UserId , userId ) ) ;
58
+ addresses . Should ( ) . Contain ( new KeyValuePair < string , object > ( AddressesConstants . UserId , userId ) ) ;
59
59
context . CommitUserRuns ( addresses , true ) ;
60
60
var ssessionId = "234" ;
61
61
addresses = context ! . ShouldRunWith ( security . Object , userSessionId : ssessionId ) ;
62
62
addresses . Should ( ) . HaveCount ( 1 ) ;
63
- addresses . Should ( ) . Contain ( new KeyValuePair < string , string > ( AddressesConstants . UserSessionId , ssessionId ) ) ;
63
+ addresses . Should ( ) . Contain ( new KeyValuePair < string , object > ( AddressesConstants . UserSessionId , ssessionId ) ) ;
64
64
context . CommitUserRuns ( addresses , false ) ;
65
65
ssessionId = "tata" ;
66
66
// should run with a different value
67
67
addresses = context ! . ShouldRunWith ( security . Object , userSessionId : ssessionId ) ;
68
- addresses . Should ( ) . Contain ( new KeyValuePair < string , string > ( AddressesConstants . UserSessionId , ssessionId ) ) ;
68
+ addresses . Should ( ) . Contain ( new KeyValuePair < string , object > ( AddressesConstants . UserSessionId , ssessionId ) ) ;
69
69
addresses . Should ( ) . HaveCount ( 1 ) ;
70
70
context . CommitUserRuns ( addresses , false ) ;
71
71
@@ -92,7 +92,7 @@ public void AddressDisabledNo()
92
92
93
93
// should run with a different value
94
94
addresses = context ! . ShouldRunWith ( security . Object , userId : userId , userSessionId : userSessionId ) ;
95
- addresses . Should ( ) . Contain ( new KeyValuePair < string , string > ( AddressesConstants . UserSessionId , userSessionId ) ) ;
95
+ addresses . Should ( ) . Contain ( new KeyValuePair < string , object > ( AddressesConstants . UserSessionId , userSessionId ) ) ;
96
96
addresses . Should ( ) . HaveCount ( 1 ) ;
97
97
context . CommitUserRuns ( addresses , false ) ;
98
98
}
@@ -122,7 +122,7 @@ public void SdkOverrideTest()
122
122
var userId = "toto" ;
123
123
var addresses = context ! . ShouldRunWith ( security . Object , userId : userId ) ;
124
124
addresses . Should ( ) . HaveCount ( 1 ) ;
125
- addresses . Should ( ) . Contain ( new KeyValuePair < string , string > ( AddressesConstants . UserId , userId ) ) ;
125
+ addresses . Should ( ) . Contain ( new KeyValuePair < string , object > ( AddressesConstants . UserId , userId ) ) ;
126
126
context . CommitUserRuns ( addresses , true ) ;
127
127
addresses = context ! . ShouldRunWith ( security . Object , userId : "other" ) ;
128
128
addresses . Should ( ) . HaveCount ( 0 ) ;
0 commit comments