diff --git a/biscuit-auth/tests/macros.rs b/biscuit-auth/tests/macros.rs index 6af98924..b2146294 100644 --- a/biscuit-auth/tests/macros.rs +++ b/biscuit-auth/tests/macros.rs @@ -230,10 +230,10 @@ fn json() { let biscuit = biscuit!(r#"user(123)"#).build(&key_pair).unwrap(); let value: serde_json::Value = json!( - r#"{ + { "id": 123, "roles": ["admin"] - }"# + } ); let json_value: biscuit_auth::builder::Term = value.try_into().unwrap();