Skip to content

Commit

Permalink
fix: add check in functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
murali-shris committed Dec 5, 2024
1 parent c603698 commit 3dec0cb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/at_functional_test/test/enroll_verb_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});

Expand Down

0 comments on commit 3dec0cb

Please sign in to comment.