Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2020-12-08 11:52:11 +05:30
parent 8223f48330
commit e78bdc6027
+2
View File
@@ -71,6 +71,7 @@ void main() {
showCopyMessage: false,
showDeleteMessage: false,
showReply: false,
showThreadReply: false,
message: Message(
text: 'test',
user: User(
@@ -87,6 +88,7 @@ void main() {
await tester.pump(Duration(milliseconds: 1000));
expect(find.byKey(Key('MessageWidget')), findsOneWidget);
expect(find.text('Reply'), findsNothing);
expect(find.text('Thread reply'), findsNothing);
expect(find.text('Edit message'), findsNothing);
expect(find.text('Delete message'), findsNothing);