From 6d719bbd21c677c4f99f85c7b4de75e8bfe00d75 Mon Sep 17 00:00:00 2001 From: Murali Date: Thu, 11 Jan 2024 23:31:50 +0530 Subject: [PATCH] fix: analyzer issues --- .../test/at_chops_encryption_util_compatibility_test.dart | 2 ++ packages/at_client/test/encryption_service_test.dart | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) 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 {}