mirror of
https://github.com/datarhei/core.git
synced 2025-09-27 04:16:25 +08:00
Fix test
This commit is contained in:
@@ -46,7 +46,7 @@ func TestFileStorageDelete(t *testing.T) {
|
|||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
|
|
||||||
err := s.Delete(ctx, "foo")
|
err := s.Delete(ctx, "foo")
|
||||||
require.ErrorIs(t, err, fs.ErrNotExist)
|
require.NoError(t, err)
|
||||||
|
|
||||||
err = s.Store(ctx, "foo", data)
|
err = s.Store(ctx, "foo", data)
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
Reference in New Issue
Block a user