Skip to content

Commit 4ee85fc

Browse files
NikitaSmalljeroiraz
authored andcommitted
fix: correct the test after the merge and latest refactor
1 parent cc2701f commit 4ee85fc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/server/remote_storage_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,7 @@ func TestInitializeWithRemoteStorageWithoutIdentifier(t *testing.T) {
253253

254254
s.WithOptions(opts)
255255

256-
m := memory.Open()
257-
s.remoteStorage = m
256+
var m remotestorage.Storage = nil
258257

259258
err := s.initializeRemoteStorage(m)
260259
require.ErrorIs(t, err, ErrNoRemoteIdentifier)

0 commit comments

Comments
 (0)