You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expect deleteResult.Success?, "DeleteItem should have succeeded.";
924
924
expect deleteResult.value.Attributes.Some?, "DeleteItemOutput should have had some attribute because ReturnValues was setas `ALL_OLD` in DeleteItemInput";
925
+
expect HashName in deleteResult.value.Attributes.value, "Deleted item does not have right partition key:" + HashName;
925
926
expect deleteResult.value.Attributes.value[HashName] == records[i].item[HashName], "Wrong item was deleted.";
926
927
} else {
927
928
expect deleteResult.Failure?, "DeleteItem should have failed.";
expect deleteResultForWithoutConditionExpressionCase.Success?, "DeleteItem should have failed.";
946
947
expect deleteResultForWithoutConditionExpressionCase.value.Attributes.Some?, "DeleteItemOutput should have had some attribute because ReturnValues was setas `ALL_OLD` in DeleteItemInput";
947
948
if attributeToDelete in records[i].item {
949
+
expect HashName in deleteResultForWithoutConditionExpressionCase.value.Attributes.value, "Deleted item does not have right partition key:" + HashName;
948
950
expect deleteResultForWithoutConditionExpressionCase.value.Attributes.value[HashName] == records[i].item[HashName], "Wrong item was deleted.";
0 commit comments