This commit is contained in:
Felix Ableitner 2024-11-21 12:44:15 +01:00
parent ebcde207ac
commit 1e1ab68b29

View file

@ -64,6 +64,7 @@ mod tests {
#[tokio::test] #[tokio::test]
#[serial] #[serial]
#[expect(clippy::indexing_slicing)]
async fn test_allowlist_insert_and_clear() -> Result<(), Error> { async fn test_allowlist_insert_and_clear() -> Result<(), Error> {
let pool = &build_db_pool_for_tests(); let pool = &build_db_pool_for_tests();
let pool = &mut pool.into(); let pool = &mut pool.into();
@ -84,7 +85,7 @@ mod tests {
.collect(); .collect();
for f in &forms { for f in &forms {
AdminAllowInstance::allow(pool, &f).await?; AdminAllowInstance::allow(pool, f).await?;
} }
let allows = Instance::allowlist(pool).await?; let allows = Instance::allowlist(pool).await?;