Skip to content

Commit ae6979f

Browse files
committed
Removed Unnecessary Test
1 parent ade4032 commit ae6979f

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

pkg/commands/kvstoreentry/kvstoreentry_test.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -263,16 +263,6 @@ func TestDeleteCommand(t *testing.T) {
263263
},
264264
WantOutput: fstfmt.Success("Deleted key '%s' from KV Store '%s'", itemKey, storeID),
265265
},
266-
{
267-
Name: "validate --if-generation-match with non-matching generation",
268-
Args: fmt.Sprintf("--store-id %s --key %s --if-generation-match 123", storeID, itemKey),
269-
API: mock.API{
270-
GetKVStoreItemFn: func(_ context.Context, _ *fastly.GetKVStoreItemInput) (fastly.GetKVStoreItemOutput, error) {
271-
return fastly.GetKVStoreItemOutput{Generation: 456}, nil
272-
},
273-
},
274-
WantError: "generation value does not match: expected 456, got 123",
275-
},
276266
{
277267
Name: "validate --if-generation-match with invalid generation value",
278268
Args: fmt.Sprintf("--store-id %s --key %s --if-generation-match invalid", storeID, itemKey),

0 commit comments

Comments
 (0)