Skip to content

Commit

Permalink
disable test
Browse files Browse the repository at this point in the history
  • Loading branch information
maksymar committed Aug 27, 2024
1 parent 44ffd67 commit f252068
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions ref-tests/tests/ic-ref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1380,18 +1380,19 @@ mod extras {
let result = ic00.canister_status(&canister_id).call_and_wait().await?;
assert_eq!(result.0.settings.log_visibility, LogVisibility::Public);

// TODO: re-enable when supported.
// Update to AllowedViewers.
let principals = vec![create_basic_identity()?.sender()?];
ic00.update_settings(&canister_id)
.with_log_visibility(LogVisibility::AllowedViewers(principals.clone()))
.call_and_wait()
.await?;

let result = ic00.canister_status(&canister_id).call_and_wait().await?;
assert_eq!(
result.0.settings.log_visibility,
LogVisibility::AllowedViewers(principals)
);
// let principals = vec![create_basic_identity()?.sender()?];
// ic00.update_settings(&canister_id)
// .with_log_visibility(LogVisibility::AllowedViewers(principals.clone()))
// .call_and_wait()
// .await?;

// let result = ic00.canister_status(&canister_id).call_and_wait().await?;
// assert_eq!(
// result.0.settings.log_visibility,
// LogVisibility::AllowedViewers(principals)
// );

Ok(())
})
Expand Down

0 comments on commit f252068

Please sign in to comment.