From 3dec0cb7e7421e8316a6be948edf4a73d07883ab Mon Sep 17 00:00:00 2001 From: Murali Date: Thu, 5 Dec 2024 15:46:48 +0530 Subject: [PATCH] fix: add check in functional test --- tests/at_functional_test/test/enroll_verb_test.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/at_functional_test/test/enroll_verb_test.dart b/tests/at_functional_test/test/enroll_verb_test.dart index da84bbd87..38172f8eb 100644 --- a/tests/at_functional_test/test/enroll_verb_test.dart +++ b/tests/at_functional_test/test/enroll_verb_test.dart @@ -409,15 +409,16 @@ void main() { var selfKey = '$secondEnrollId.default_self_enc_key.__manage$firstAtSign'; String selfKeyResponse = await socketConnection2.sendRequestToServer('keys:get:self'); - print('** selfKeyResponse: $selfKeyResponse'); expect(selfKeyResponse.contains(selfKey), true); + String selfKeyGetResponse = await socketConnection2 + .sendRequestToServer('keys:get:keyName:$selfKey'); + print('selfKeyGetResponse: $selfKeyGetResponse'); // keys:get:private should return private encryption key var privateKey = '$secondEnrollId.default_enc_private_key.__manage$firstAtSign'; String privateKeyResponse = await socketConnection2.sendRequestToServer('keys:get:private'); - print('** privateKeyResponse: $privateKeyResponse'); expect(privateKeyResponse.contains(privateKey), true); });