refactor: Fix `setup` tests for influxdb_client
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>pull/24376/head
parent
c876c18961
commit
6134915f27
|
@ -156,7 +156,7 @@ mod tests {
|
|||
let client = Client::new(&mockito::server_url(), token);
|
||||
|
||||
let _result = client
|
||||
.setup_init(username, org, bucket, password, retention_period_hrs)
|
||||
.setup_init(username, org, bucket, Some(password.to_string()), Some(retention_period_hrs), None)
|
||||
.await;
|
||||
|
||||
mock_server.assert();
|
||||
|
@ -185,7 +185,7 @@ mod tests {
|
|||
let client = Client::new(&mockito::server_url(), token);
|
||||
|
||||
let _result = client
|
||||
.setup_new(username, org, bucket, password, retention_period_hrs)
|
||||
.setup_new(username, org, bucket, Some(password.to_string()), Some(retention_period_hrs), None)
|
||||
.await;
|
||||
|
||||
mock_server.assert();
|
||||
|
|
Loading…
Reference in New Issue