[FakeMatrixAPI] add missing slash
This commit is contained in:
parent
330863b066
commit
650810c63e
|
@ -244,7 +244,7 @@ void main() {
|
||||||
test('getPushrules', () async {
|
test('getPushrules', () async {
|
||||||
final PushrulesResponse pushrules = await matrix.getPushrules();
|
final PushrulesResponse pushrules = await matrix.getPushrules();
|
||||||
final PushrulesResponse awaited_resp = PushrulesResponse.fromJson(
|
final PushrulesResponse awaited_resp = PushrulesResponse.fromJson(
|
||||||
FakeMatrixApi.api["GET"]["/client/r0/pushrules"](""));
|
FakeMatrixApi.api["GET"]["/client/r0/pushrules/"](""));
|
||||||
expect(pushrules.toJson(), awaited_resp.toJson());
|
expect(pushrules.toJson(), awaited_resp.toJson());
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue