Fix tests
This commit is contained in:
parent
be7a01f086
commit
58531a2748
1 changed files with 5 additions and 0 deletions
|
@ -4049,6 +4049,11 @@ class Diaspora
|
|||
return false;
|
||||
}
|
||||
|
||||
// This is only needed for the automated tests
|
||||
if (empty($owner['uprvkey'])) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$message = self::constructComment($item, $owner);
|
||||
if ($message === false) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue