refactor: Remove FluffyClient and make it no longer static

This commit is contained in:
Christian Pauly 2021-06-23 15:35:23 +02:00
commit 2320f6b707
8 changed files with 71 additions and 67 deletions

View file

@ -8,8 +8,12 @@
import 'package:fluffychat/main.dart';
import 'package:flutter_test/flutter_test.dart';
import 'utils/test_client.dart';
void main() {
testWidgets('Test if the app starts', (WidgetTester tester) async {
await tester.pumpWidget(FluffyChatApp());
await tester.pumpWidget(FluffyChatApp(
client: await prepareTestClient(),
));
});
}