summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/fixtures/channel.rs3
-rw-r--r--src/test/fixtures/login.rs3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/test/fixtures/channel.rs b/src/test/fixtures/channel.rs
index 024ac1b..3831c82 100644
--- a/src/test/fixtures/channel.rs
+++ b/src/test/fixtures/channel.rs
@@ -8,9 +8,10 @@ use rand;
use crate::{
app::App,
- channel::{self, Channel, Name},
+ channel::{self, Channel},
clock::RequestedAt,
event::Event,
+ name::Name,
};
pub async fn create(app: &App, created_at: &RequestedAt) -> Channel {
diff --git a/src/test/fixtures/login.rs b/src/test/fixtures/login.rs
index 0a42320..714b936 100644
--- a/src/test/fixtures/login.rs
+++ b/src/test/fixtures/login.rs
@@ -4,7 +4,8 @@ use uuid::Uuid;
use crate::{
app::App,
clock::RequestedAt,
- login::{self, Login, Name, Password},
+ login::{self, Login, Password},
+ name::Name,
};
pub async fn create_with_password(app: &App, created_at: &RequestedAt) -> (Login, Password) {