Add instance, guild, channel to TestBundle

This commit is contained in:
bitfl0wer 2023-05-23 13:15:57 +02:00
parent 6af16490ab
commit 0e3e26439d
No known key found for this signature in database
GPG Key ID: 84BBB60DF895ABF2
1 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,5 @@
use chorus::{
api::{AuthUsername, RegisterSchema, User},
api::{AuthUsername, Channel, Guild, RegisterSchema, User},
instance::Instance,
URLBundle,
};
@ -8,6 +8,9 @@ use chorus::{
struct TestBundle {
urls: URLBundle,
user: User,
instance: Instance,
guild: Guild,
channel: Channel,
}
// Set up a test by creating an Instance and a User. Reduces Test boilerplate.