Fix tests

This commit is contained in:
Michael 2021-05-31 20:02:53 +00:00
parent be7a01f086
commit 58531a2748

View file

@ -4049,6 +4049,11 @@ class Diaspora
return false; return false;
} }
// This is only needed for the automated tests
if (empty($owner['uprvkey'])) {
return false;
}
$message = self::constructComment($item, $owner); $message = self::constructComment($item, $owner);
if ($message === false) { if ($message === false) {
return false; return false;