remove unused import

This commit is contained in:
Adam Velebil 2022-09-12 10:58:23 +02:00
parent 71f09c7043
commit edfa0402c9
No known key found for this signature in database
GPG Key ID: AC6D6B9D715FC084

View File

@ -1,6 +1,5 @@
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:yubico_authenticator/app/views/message_page.dart';
import 'package:yubico_authenticator/core/state.dart';
import 'package:yubico_authenticator/oath/views/account_list.dart';
import 'package:yubico_authenticator/oath/views/account_view.dart';
@ -30,7 +29,6 @@ const deviceMenuResetOathKey = Key('reset oath app');
const noAccountsMessagePage = Key('oath.message_page.no_accounts');
class Account {
final String? issuer;
final String name;
@ -120,7 +118,6 @@ extension OathFunctions on WidgetTester {
}
Future<AccountView?> findAccount(Account a, {bool quiet = true}) async {
if (find.byKey(noAccountsMessagePage).hitTestable().evaluate().isNotEmpty) {
/// if there is no OATH account on the YubiKey, the app shows
/// No accounts [MessagePage]