mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2025-06-05 21:48:48 +00:00
Set blog title in test fixture
This commit is contained in:
parent
18a9ed5504
commit
08f4dac3d3
1 changed files with 2 additions and 0 deletions
|
@ -439,6 +439,7 @@ mod tests {
|
||||||
login(&request, &user);
|
login(&request, &user);
|
||||||
let mut response = request.dispatch();
|
let mut response = request.dispatch();
|
||||||
let body = response.body_string().unwrap();
|
let body = response.body_string().unwrap();
|
||||||
|
eprintln!("{:?}", &blog.fqn);
|
||||||
let body_contains_edit_lnk = body.contains(&edit_link);
|
let body_contains_edit_lnk = body.contains(&edit_link);
|
||||||
|
|
||||||
teardown((&client, (instance, user, blog, post)));
|
teardown((&client, (instance, user, blog, post)));
|
||||||
|
@ -498,6 +499,7 @@ mod tests {
|
||||||
let user = User::insert(conn, user).unwrap();
|
let user = User::insert(conn, user).unwrap();
|
||||||
let blog = NewBlog {
|
let blog = NewBlog {
|
||||||
instance_id: instance.id,
|
instance_id: instance.id,
|
||||||
|
title: random_hex(),
|
||||||
actor_id: random_hex(),
|
actor_id: random_hex(),
|
||||||
ap_url: random_hex(),
|
ap_url: random_hex(),
|
||||||
inbox_url: random_hex(),
|
inbox_url: random_hex(),
|
||||||
|
|
Loading…
Reference in a new issue