diff --git a/packages/at_client/test/at_chops_encryption_util_compatibility_test.dart b/packages/at_client/test/at_chops_encryption_util_compatibility_test.dart index 87079cf9c..ed75f4f22 100644 --- a/packages/at_client/test/at_chops_encryption_util_compatibility_test.dart +++ b/packages/at_client/test/at_chops_encryption_util_compatibility_test.dart @@ -33,7 +33,9 @@ void main() { var atChops = AtChopsImpl(atChopsKeys); var encryptedAesKey = atChops.encryptString(aesKey, EncryptionKeyType.rsa2048).result; + var decryptedAesKey = + //ignore: deprecated_member_use_from_same_package EncryptionUtil.decryptKey(encryptedAesKey, encryptionPrivateKey); expect(decryptedAesKey, aesKey); }); diff --git a/packages/at_client/test/encryption_service_test.dart b/packages/at_client/test/encryption_service_test.dart index 9b789989e..4ab33fc02 100644 --- a/packages/at_client/test/encryption_service_test.dart +++ b/packages/at_client/test/encryption_service_test.dart @@ -10,7 +10,6 @@ import 'package:at_commons/at_builders.dart'; import 'package:at_persistence_secondary_server/at_persistence_secondary_server.dart'; import 'package:mocktail/mocktail.dart'; import 'package:test/test.dart'; -import 'package:at_chops/at_chops.dart'; class MockAtClientManager extends Mock implements AtClientManager {}