mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-27 06:41:18 +00:00
Fix test.
This commit is contained in:
parent
e5f9a3e966
commit
6cdb4dfc86
1 changed files with 4 additions and 1 deletions
|
@ -1128,10 +1128,13 @@ mod tests {
|
|||
"https://lemmy-alpha/api/v3/image_proxy?url=http%3A%2F%2Flemmy-beta%2Fimage.png",
|
||||
proxied.as_str()
|
||||
);
|
||||
|
||||
// This fails, because the details can't be fetched without pictrs running,
|
||||
// And a remote image won't be inserted.
|
||||
assert!(
|
||||
RemoteImage::validate(&mut context.pool(), remote_image.into())
|
||||
.await
|
||||
.is_ok()
|
||||
.is_err()
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue