@@ -97,7 +97,7 @@ func TestVenConnClient_PostDataReadingsWithOptions(t *testing.T) {
9797 name: venafi-connection
9898 namespace: venafi
9999 ` ),
100- expectReadyCondMsg : "ea744d098c2c1c6044e4c4e9d3bf7c2a68ef30553db00f1714886cedf73230f1 " ,
100+ expectReadyCondMsg : "Generated a new token " ,
101101 }))
102102 t .Run ("error when the apiKey field is used" , run_TestVenConnClient_PostDataReadingsWithOptions (ctx , restconf , kclient , testcase {
103103 // Why isn't it possible to use the 'apiKey' field? Although the
@@ -155,7 +155,7 @@ func TestVenConnClient_PostDataReadingsWithOptions(t *testing.T) {
155155 ` ),
156156 // PostDataReadingsWithOptions failed, but Get succeeded; that's why the
157157 // condition says the VenafiConnection is ready.
158- expectReadyCondMsg : "b099d634ccec56556da28028743475dab67f79d079b668bedc3ef544f7eed2f3 " ,
158+ expectReadyCondMsg : "Generated a new token " ,
159159 expectErr : "VenafiConnection error-when-the-apikey-field-is-used/venafi-components: the agent cannot be used with an API key" ,
160160 }))
161161 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) {
213213 name: venafi-connection
214214 namespace: venafi
215215 ` ),
216- expectReadyCondMsg : "ea744d098c2c1c6044e4c4e9d3bf7c2a68ef30553db00f1714886cedf73230f1 " ,
216+ expectReadyCondMsg : "Generated a new token " ,
217217 expectErr : "VenafiConnection error-when-the-tpp-field-is-used/venafi-components: the agent cannot be used with TPP" ,
218218 }))
219219}
0 commit comments