Skip to content

Commit 47592d1

Browse files
committed
fix: remove unused imports and avoid PI approximation in tests
1 parent 01b14cf commit 47592d1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/cipherstash-proxy-integration/src/encryption_sanity.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@
99
mod tests {
1010
use crate::common::{
1111
assert_encrypted_jsonb, assert_encrypted_numeric, assert_encrypted_text, clear,
12-
connect_with_tls, random_id, random_limited, trace, PROXY,
12+
connect_with_tls, random_id, trace, PROXY,
1313
};
1414
use chrono::NaiveDate;
15-
use serde_json;
1615

1716
#[tokio::test]
1817
async fn text_encryption_sanity_check() {
@@ -74,7 +73,7 @@ mod tests {
7473
clear().await;
7574

7675
let id = random_id();
77-
let plaintext: f64 = 3.14159;
76+
let plaintext: f64 = 123.456;
7877

7978
// Insert through proxy (should encrypt)
8079
let client = connect_with_tls(PROXY).await;

0 commit comments

Comments
 (0)