Set blog title in test fixture

This commit is contained in:
Kitaiti Makoto 2023-01-09 19:14:20 +09:00
parent 18a9ed5504
commit 08f4dac3d3

View File

@ -439,6 +439,7 @@ mod tests {
login(&request, &user);
let mut response = request.dispatch();
let body = response.body_string().unwrap();
eprintln!("{:?}", &blog.fqn);
let body_contains_edit_lnk = body.contains(&edit_link);
teardown((&client, (instance, user, blog, post)));
@ -498,6 +499,7 @@ mod tests {
let user = User::insert(conn, user).unwrap();
let blog = NewBlog {
instance_id: instance.id,
title: random_hex(),
actor_id: random_hex(),
ap_url: random_hex(),
inbox_url: random_hex(),