mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 04:27:02 +01:00
fmt update
This commit is contained in:
parent
58e45149d4
commit
3c03594e51
|
@ -51,6 +51,8 @@ impl QueryServer {
|
|||
}
|
||||
|
||||
// What should this take?
|
||||
// This should probably take raw encoded entries? Or sohuld they
|
||||
// be handled by fe?
|
||||
pub fn create(&mut self) -> Result<(), ()> {
|
||||
Ok(())
|
||||
}
|
||||
|
@ -96,6 +98,7 @@ impl Handler<CreateEvent> for QueryServer {
|
|||
|
||||
// Auth requests? How do we structure these ...
|
||||
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
extern crate actix;
|
||||
|
@ -108,9 +111,9 @@ mod tests {
|
|||
|
||||
extern crate tokio;
|
||||
|
||||
use super::super::server::QueryServer;
|
||||
use super::super::be::Backend;
|
||||
use super::super::log::{self, EventLog, LogEvent};
|
||||
use super::super::server::QueryServer;
|
||||
|
||||
macro_rules! run_test {
|
||||
($test_fn:expr) => {{
|
||||
|
@ -133,6 +136,7 @@ mod tests {
|
|||
}};
|
||||
}
|
||||
|
||||
|
||||
#[test]
|
||||
fn test_be_create_user() {
|
||||
run_test!(|log, mut server: QueryServer| {
|
||||
|
|
Loading…
Reference in a new issue