Skip to content

Commit

Permalink
fix: Remove the skip tag
Browse files Browse the repository at this point in the history
  • Loading branch information
sitaram-kalluri committed Nov 27, 2024
1 parent 0eb9ca3 commit 24194dc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/at_end2end_test/test/lookup_verb_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,21 @@ void main() {
var randomHashValue = Uuid().v4().hashCode;
var value = 'Q7878R$lastValue';
await sh1.writeCommand(
'update:pubKeyHash:hashedValue-$randomHashValue:hashingAlgo:sha512:$atSign_2:special-code$atSign_1 $value');
'update:pubKeyHash:hashedValue-$randomHashValue:hashingAlgo:sha512:$atSign_2:special-code-$randomHashValue$atSign_1 $value');
String response = await sh1.read();
assert(
(!response.contains('Invalid syntax')) && (!response.contains('null')));

///lookup verb alice atsign
await sh2.writeCommand('lookup:all:special-code$atSign_1');
await sh2.writeCommand('lookup:all:special-code-$randomHashValue$atSign_1');
response = await sh2.read(timeoutMillis: 4000);
response = response.replaceAll('data:', '');
var decodedResponse = jsonDecode(response);
expect(decodedResponse['key'], '$atSign_2:special-code$atSign_1');
expect(decodedResponse['key'],
'$atSign_2:special-code-$randomHashValue$atSign_1');
expect(decodedResponse['metaData']['pubKeyHash']['hash'],
'hashedValue-$randomHashValue');
expect(decodedResponse['metaData']['pubKeyHash']['hashingAlgo'], 'sha512');
expect(decodedResponse['data'], value);
}, skip: 'Skip untill the changes are merged to trunk');
});
}

0 comments on commit 24194dc

Please sign in to comment.