Skip to content

Commit

Permalink
tests: use IASMode::Production as default
Browse files Browse the repository at this point in the history
Signed-off-by: Jun Kimura <[email protected]>
  • Loading branch information
bluele committed Sep 11, 2024
1 parent a8eaa87 commit 27ed398
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/integration/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ mod tests {
enclave,
signer,
Some(operator),
remote_attestation::IASMode::Development,
remote_attestation::IASMode::Production,
std::env::var("SPID")?,
std::env::var("IAS_KEY")?,
) {
Expand All @@ -139,7 +139,7 @@ mod tests {
enclave,
signer,
None,
remote_attestation::IASMode::Development,
remote_attestation::IASMode::Production,
std::env::var("SPID")?,
std::env::var("IAS_KEY")?,
) {
Expand Down Expand Up @@ -168,7 +168,7 @@ mod tests {
) {
Ok(res) => res.get_avr()?,
Err(e) => {
bail!("IAS Remote Attestation Failed {:?}!", e);
bail!("Remote Attestation Simulation Failed {:?}!", e);
}
};
let report_data = res.parse_quote()?.report_data();
Expand All @@ -186,7 +186,7 @@ mod tests {
) {
Ok(res) => res.get_avr()?,
Err(e) => {
bail!("IAS Remote Attestation Failed {:?}!", e);
bail!("Remote Attestation Simulation Failed {:?}!", e);
}
};
let report_data = res.parse_quote()?.report_data();
Expand Down

0 comments on commit 27ed398

Please sign in to comment.