@@ -97,7 +97,7 @@ func TestVenConnClient_PostDataReadingsWithOptions(t *testing.T) {
97
97
name: venafi-connection
98
98
namespace: venafi
99
99
` ),
100
- expectReadyCondMsg : "ea744d098c2c1c6044e4c4e9d3bf7c2a68ef30553db00f1714886cedf73230f1 " ,
100
+ expectReadyCondMsg : "Generated a new token " ,
101
101
}))
102
102
t .Run ("error when the apiKey field is used" , run_TestVenConnClient_PostDataReadingsWithOptions (ctx , restconf , kclient , testcase {
103
103
// Why isn't it possible to use the 'apiKey' field? Although the
@@ -155,7 +155,7 @@ func TestVenConnClient_PostDataReadingsWithOptions(t *testing.T) {
155
155
` ),
156
156
// PostDataReadingsWithOptions failed, but Get succeeded; that's why the
157
157
// condition says the VenafiConnection is ready.
158
- expectReadyCondMsg : "b099d634ccec56556da28028743475dab67f79d079b668bedc3ef544f7eed2f3 " ,
158
+ expectReadyCondMsg : "Generated a new token " ,
159
159
expectErr : "VenafiConnection error-when-the-apikey-field-is-used/venafi-components: the agent cannot be used with an API key" ,
160
160
}))
161
161
t .Run ("error when the tpp field is used" , run_TestVenConnClient_PostDataReadingsWithOptions (ctx , restconf , kclient , testcase {
@@ -213,7 +213,7 @@ func TestVenConnClient_PostDataReadingsWithOptions(t *testing.T) {
213
213
name: venafi-connection
214
214
namespace: venafi
215
215
` ),
216
- expectReadyCondMsg : "ea744d098c2c1c6044e4c4e9d3bf7c2a68ef30553db00f1714886cedf73230f1 " ,
216
+ expectReadyCondMsg : "Generated a new token " ,
217
217
expectErr : "VenafiConnection error-when-the-tpp-field-is-used/venafi-components: the agent cannot be used with TPP" ,
218
218
}))
219
219
}
0 commit comments