Merge upstream commit '396376ceb9bea3d2fa9a860401da27c267fd9a17' into feature/guzzle7-update

This commit is contained in:
Ben 2022-02-19 17:24:57 +01:00
commit f1c4a1d7e2
Signed by: ben
GPG key ID: 0F54A7ED232D3319
2 changed files with 4 additions and 2 deletions

View file

@ -51,7 +51,8 @@ class MatrixHttpApiTest extends BaseTestCase {
*/
protected $api;
protected function setUp(): void {
protected function setUp(): void
{
parent::setUp();
$this->api = new MatrixHttpApi('http://example.com');
}

View file

@ -26,7 +26,8 @@ class UserTest extends BaseTestCase {
*/
protected $room;
protected function setUp(): void {
protected function setUp(): void
{
parent::setUp();
$this->client = new MatrixClient(self::HOSTNAME);
$this->user = new User($this->client->api(), $this->userId);