@@ -56,8 +56,8 @@ public async Task ActiveToken()
56
56
result . StatusCode . Should ( ) . Be ( HttpStatusCode . OK ) ;
57
57
58
58
var request = handler . LastRequest ;
59
- request . Should ( ) . ContainKey ( "client_id" ) . WhichValue . Should ( ) . Be ( clientId ) ;
60
- request . Should ( ) . ContainKey ( "client_secret" ) . WhichValue . Should ( ) . Be ( clientSecret ) ;
59
+ request . Should ( ) . ContainKey ( "client_id" ) . WhoseValue . Should ( ) . Be ( clientId ) ;
60
+ request . Should ( ) . ContainKey ( "client_secret" ) . WhoseValue . Should ( ) . Be ( clientSecret ) ;
61
61
}
62
62
63
63
[ Theory ]
@@ -93,17 +93,17 @@ public async Task ActiveToken_With_ClientAssertion(int ttl, string assertion1, s
93
93
result . StatusCode . Should ( ) . Be ( HttpStatusCode . OK ) ;
94
94
95
95
var request = handler . LastRequest ;
96
- request . Should ( ) . ContainKey ( "client_id" ) . WhichValue . Should ( ) . Be ( clientId ) ;
97
- request . Should ( ) . ContainKey ( "client_assertion_type" ) . WhichValue . Should ( ) . Be ( "testType" ) ;
98
- request . Should ( ) . ContainKey ( "client_assertion" ) . WhichValue . Should ( ) . Be ( assertion1 ) ;
96
+ request . Should ( ) . ContainKey ( "client_id" ) . WhoseValue . Should ( ) . Be ( clientId ) ;
97
+ request . Should ( ) . ContainKey ( "client_assertion_type" ) . WhoseValue . Should ( ) . Be ( "testType" ) ;
98
+ request . Should ( ) . ContainKey ( "client_assertion" ) . WhoseValue . Should ( ) . Be ( assertion1 ) ;
99
99
100
100
result = await client . GetAsync ( "http://test" ) ;
101
101
result . StatusCode . Should ( ) . Be ( HttpStatusCode . OK ) ;
102
102
103
103
request = handler . LastRequest ;
104
- request . Should ( ) . ContainKey ( "client_id" ) . WhichValue . Should ( ) . Be ( clientId ) ;
105
- request . Should ( ) . ContainKey ( "client_assertion_type" ) . WhichValue . Should ( ) . Be ( "testType" ) ;
106
- request . Should ( ) . ContainKey ( "client_assertion" ) . WhichValue . Should ( ) . Be ( assertion2 ) ;
104
+ request . Should ( ) . ContainKey ( "client_id" ) . WhoseValue . Should ( ) . Be ( clientId ) ;
105
+ request . Should ( ) . ContainKey ( "client_assertion_type" ) . WhoseValue . Should ( ) . Be ( "testType" ) ;
106
+ request . Should ( ) . ContainKey ( "client_assertion" ) . WhoseValue . Should ( ) . Be ( assertion2 ) ;
107
107
}
108
108
109
109
[ Fact ]
0 commit comments