(no description)
File Size: | 169 lines (6 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 1 file communication/provider/matrix/tests/fixtures/mocked_matrix_client.php |
setUpBeforeClass() X-Ref |
A trait with shared tooling for handling matrix_client tests. |
setUp() X-Ref |
No description |
tearDown() X-Ref |
No description |
get_mocked_instance_for_version(string $version,array &$historycontainer = [],?MockHandler $mock = null,) X-Ref |
Get a mocked instance for a specific Matrix API version, param: string $version param: array $historycontainer An array which will be filled with history for the mocked client. param: MockHandler|null $mock A MockHandler object that can be appended to return: matrix_client |
get_mocked_version_response(array $versions = null,array $unstablefeatures = null,) X-Ref |
Get a mocked response for the /versions well-known URI. param: array|null $versions param: array|null $unstablefeatures return: Response |
get_current_versions() X-Ref |
A helper to get the current versions returned by synapse. return: array |
get_current_unstable_features() X-Ref |
A helper to get the current unstable features returned by synapse. return: array |