File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
TestVectors/dafny/DDBEncryption/src Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -852,7 +852,6 @@ module {:options "-functionSyntax:4"} DdbEncryptionTestVectors {
852
852
{
853
853
var wClient, rClient := SetupTestTable (writeConfig, readConfig);
854
854
WriteAllRecords (wClient, records);
855
-
856
855
// Update each record by appending "updated" to the partition key
857
856
for i := 0 to |records| {
858
857
var newValue := "updated";
@@ -908,10 +907,7 @@ module {:options "-functionSyntax:4"} DdbEncryptionTestVectors {
908
907
ExpressionAttributeValues := Some (exprAttrValues),
909
908
ReturnValues := Some (DDB.ReturnValue.ALL_OLD)
910
909
);
911
-
912
- // The delete operation will succeed only if the condition is met
913
910
var deleteResult := wClient. DeleteItem (deleteInput);
914
-
915
911
expect attributeToDelete in writeConfig. config. attributeActionsOnEncrypt, "`attributeToDelete` not found in attributeActionsOnEncrypt of config. ";
916
912
if writeConfig. config. attributeActionsOnEncrypt[attributeToDelete] == SE. ENCRYPT_AND_SIGN {
917
913
expect deleteResult. Failure?, "DeleteItem should have failed. ";
You can’t perform that action at this time.
0 commit comments