refactor: Fix `setup` tests for influxdb_client

Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
pull/24376/head
Aakash Hemadri 2021-03-16 16:42:45 +05:30
parent c876c18961
commit 6134915f27
No known key found for this signature in database
GPG Key ID: 16DDD8A27920964C
1 changed files with 2 additions and 2 deletions

View File

@ -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();