TF-2536 Write unit test for getAllMailbox method repository
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
import 'package:tmail_ui_user/features/mailbox/domain/model/mailbox_response.dart';
|
||||
|
||||
class FullMailboxResponse extends MailboxResponse {
|
||||
|
||||
FullMailboxResponse({required super.mailboxes, super.state});
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import 'package:tmail_ui_user/features/mailbox/domain/model/mailbox_response.dart';
|
||||
|
||||
class JmapMailboxResponse extends MailboxResponse {
|
||||
|
||||
JmapMailboxResponse({required super.mailboxes, super.state});
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
import 'package:jmap_dart_client/jmap/core/id.dart';
|
||||
import 'package:tmail_ui_user/features/mailbox/domain/model/mailbox_response.dart';
|
||||
|
||||
class PartialMailboxResponse extends MailboxResponse {
|
||||
|
||||
final List<Id> mailboxNotFound;
|
||||
|
||||
PartialMailboxResponse({
|
||||
required this.mailboxNotFound,
|
||||
required super.mailboxes,
|
||||
super.state,
|
||||
});
|
||||
|
||||
@override
|
||||
List<Object?> get props => [mailboxNotFound, ...super.props];
|
||||
}
|
||||
Reference in New Issue
Block a user