From 650810c63efae6bc7d826a1ddf01054adf1148e3 Mon Sep 17 00:00:00 2001 From: Marcel Date: Thu, 18 Jul 2019 19:01:05 +0200 Subject: [PATCH] [FakeMatrixAPI] add missing slash --- test/Client_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Client_test.dart b/test/Client_test.dart index 64a5104..8a2e965 100644 --- a/test/Client_test.dart +++ b/test/Client_test.dart @@ -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()); });