Add instance, guild, channel to TestBundle
This commit is contained in:
parent
6af16490ab
commit
0e3e26439d
|
@ -1,5 +1,5 @@
|
||||||
use chorus::{
|
use chorus::{
|
||||||
api::{AuthUsername, RegisterSchema, User},
|
api::{AuthUsername, Channel, Guild, RegisterSchema, User},
|
||||||
instance::Instance,
|
instance::Instance,
|
||||||
URLBundle,
|
URLBundle,
|
||||||
};
|
};
|
||||||
|
@ -8,6 +8,9 @@ use chorus::{
|
||||||
struct TestBundle {
|
struct TestBundle {
|
||||||
urls: URLBundle,
|
urls: URLBundle,
|
||||||
user: User,
|
user: User,
|
||||||
|
instance: Instance,
|
||||||
|
guild: Guild,
|
||||||
|
channel: Channel,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set up a test by creating an Instance and a User. Reduces Test boilerplate.
|
// Set up a test by creating an Instance and a User. Reduces Test boilerplate.
|
||||||
|
|
Loading…
Reference in New Issue