Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion crates/buzz-db/src/store/deletion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5145,6 +5145,7 @@ DROP FUNCTION protect_community_deletion_manifest_keys();
name: Some("wrong-community".to_string()),
..Default::default()
},
&[1; 32],
)
.await,
Err(DbError::ChannelNotFound(_))
Expand All @@ -5156,6 +5157,7 @@ DROP FUNCTION protect_community_deletion_manifest_keys();
name: Some("same-community".to_string()),
..Default::default()
},
&[1; 32],
)
.await
.expect("same-community metadata update");
Expand Down Expand Up @@ -5782,7 +5784,7 @@ DROP FUNCTION protect_community_deletion_manifest_keys();
async fn contender_db(application_name: &str) -> Db {
let database_url = std::env::var("BUZZ_TEST_DATABASE_URL")
.or_else(|_| std::env::var("DATABASE_URL"))
.unwrap_or_else(|_| "postgres://buzz:buzz_dev@localhost:5432/buzz".to_string());
.unwrap_or_else(|_| "postgres://buzz:buzz_dev@localhost:5432/buzz".to_string()); // sadscan:disable np.postgres.1 -- local test-only credentials
let options = PgConnectOptions::from_str(&database_url)
.expect("parse test database URL")
.application_name(application_name);
Expand Down
Loading