This commit is contained in:
Ingo Oppermann
2024-05-28 14:56:27 +02:00
parent 32ccfc24ee
commit b4aa76f5af

View File

@@ -46,7 +46,7 @@ func TestFileStorageDelete(t *testing.T) {
ctx := context.Background()
err := s.Delete(ctx, "foo")
require.ErrorIs(t, err, fs.ErrNotExist)
require.NoError(t, err)
err = s.Store(ctx, "foo", data)
require.NoError(t, err)