There was an error while loading. Please reload this page.
1 parent c511e8b commit e01664dCopy full SHA for e01664d
1 file changed
openleadr-client/tests/common/mod.rs
@@ -169,6 +169,7 @@ pub async fn setup_program_client<K: ClientKind>(
169
client.create_program(program_content).await.unwrap()
170
}
171
172
+#[allow(unused)]
173
pub async fn setup_client_with_role<K: ClientKind>(db: PgPool, role: AuthRole) -> Client<K> {
174
let cred = default_credentials(role);
175
let storage = PostgresStorage::new(db).unwrap();
0 commit comments