Compare commits

...

4 Commits

Author SHA1 Message Date
Ben f1c4a1d7e2
Merge upstream commit '396376ceb9bea3d2fa9a860401da27c267fd9a17' into feature/guzzle7-update 2022-02-19 17:24:57 +01:00
Yoann Celton 396376ceb9
Merge pull request #10 from vazaha-nl/test-fixes
Fixed function signature error and failing tests
2021-10-07 20:34:17 +11:00
Lennart Hengstmengel ba600d22bd correct assertion to check string containment 2021-10-07 10:27:09 +02:00
Lennart Hengstmengel b29257a282 fixed method signature 2021-10-07 10:26:35 +02:00
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);