Derive Debug, add comment
This commit is contained in:
parent
45bd52dc9b
commit
f897351994
|
@ -4,12 +4,13 @@ use chorus::{
|
||||||
URLBundle,
|
URLBundle,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#[derive(Debug)]
|
||||||
struct TestBundle {
|
struct TestBundle {
|
||||||
urls: URLBundle,
|
urls: URLBundle,
|
||||||
user: User,
|
user: User,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set up a test by creating an Instance and a User.
|
// Set up a test by creating an Instance and a User. Reduces Test boilerplate.
|
||||||
async fn setup() -> TestBundle {
|
async fn setup() -> TestBundle {
|
||||||
let urls = URLBundle::new(
|
let urls = URLBundle::new(
|
||||||
"http://localhost:3001/api".to_string(),
|
"http://localhost:3001/api".to_string(),
|
||||||
|
|
Loading…
Reference in New Issue