refactor: Update Matrix SDK
This commit is contained in:
parent
d0b8d56b2a
commit
355abeb17f
10 changed files with 48 additions and 53 deletions
|
|
@ -6,9 +6,10 @@ import 'package:fluffychat/utils/matrix_sdk_extensions.dart/flutter_matrix_hive_
|
|||
|
||||
Future<Client> prepareTestClient({
|
||||
bool loggedIn = false,
|
||||
String homeserver = 'https://fakeserver.notexisting',
|
||||
Uri? homeserver,
|
||||
String id = 'FluffyChat Widget Test',
|
||||
}) async {
|
||||
homeserver ??= Uri.parse('https://fakeserver.notexisting');
|
||||
final client = Client(
|
||||
'FluffyChat Widget Tests',
|
||||
httpClient: FakeMatrixApi(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue