[FakeMatrixAPI] add missing slash

This commit is contained in:
Marcel 2019-07-18 19:01:05 +02:00
parent 330863b066
commit 650810c63e
No known key found for this signature in database
GPG key ID: B5E03B5BF119B26C

View file

@ -244,7 +244,7 @@ void main() {
test('getPushrules', () async {
final PushrulesResponse pushrules = await matrix.getPushrules();
final PushrulesResponse awaited_resp = PushrulesResponse.fromJson(
FakeMatrixApi.api["GET"]["/client/r0/pushrules"](""));
FakeMatrixApi.api["GET"]["/client/r0/pushrules/"](""));
expect(pushrules.toJson(), awaited_resp.toJson());
});