Porting HttpApi tests

This commit is contained in:
Yoann Celton 2018-12-01 20:42:29 +11:00
commit e97027f4c5
3 changed files with 483 additions and 3 deletions

View file

@ -1327,7 +1327,7 @@ class MatrixHttpApi {
$content['one_time_keys'] = $oneTimeKeys;
}
return $this->send('POST', '/keys/upload', $content);
return $this->send('POST', '/keys/upload', $content ?: null);
}
/**