An easy-to-host PDS on the ATProtocol, iPhone and MacOS. Maintain control of your keys and data, always.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

style(db): rustfmt assert_eq\! lines in oauth signing key test

authored by

Malpercio and committed by
Tangled
85d279b2 eb06404b

+8 -2
+8 -2
crates/relay/src/db/oauth.rs
··· 312 312 .expect("key should exist after storage"); 313 313 314 314 assert_eq!(row.id, "test-key-uuid-01"); 315 - assert_eq!(row.public_key_jwk, r#"{"kty":"EC","crv":"P-256","x":"abc","y":"def","kid":"test-key-uuid-01"}"#); 316 - assert_eq!(row.private_key_encrypted, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"); 315 + assert_eq!( 316 + row.public_key_jwk, 317 + r#"{"kty":"EC","crv":"P-256","x":"abc","y":"def","kid":"test-key-uuid-01"}"# 318 + ); 319 + assert_eq!( 320 + row.private_key_encrypted, 321 + "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" 322 + ); 317 323 } 318 324 319 325 #[tokio::test]