Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

Commit f98ea44

Browse files
committed
fmt
1 parent 5fc1ef7 commit f98ea44

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

src/user/user_manager.rs

-1
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,4 @@ impl UserManager {
104104
}
105105
Err(ConnectionError::ClusterAllNodesFailed(error_buffer.join("\n")))?
106106
}
107-
108107
}

tests/behaviour/mod.rs

+10-2
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,16 @@ impl Context {
8484

8585
async fn after_scenario(&self) -> TypeDBResult {
8686
try_join_all(self.databases.all().await.unwrap().into_iter().map(Database::delete)).await?;
87-
try_join_all(self.users.all().await.unwrap().into_iter()
88-
.filter(|user| user.username != Context::ADMIN_USERNAME).map(|user| self.users.delete(user.username))).await?;
87+
try_join_all(
88+
self.users
89+
.all()
90+
.await
91+
.unwrap()
92+
.into_iter()
93+
.filter(|user| user.username != Context::ADMIN_USERNAME)
94+
.map(|user| self.users.delete(user.username)),
95+
)
96+
.await?;
8997
Ok(())
9098
}
9199

0 commit comments

Comments
 (0)