Skip to content

Commit aafe27e

Browse files
NikitaSmalljeroiraz
authored andcommitted
provide correct error
1 parent 4ee85fc commit aafe27e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/server/remote_storage_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ func TestInitializeWithRemoteStorageWithoutIdentifier(t *testing.T) {
256256
var m remotestorage.Storage = nil
257257

258258
err := s.initializeRemoteStorage(m)
259-
require.ErrorIs(t, err, ErrNoRemoteIdentifier)
259+
require.ErrorIs(t, err, ErrNoStorageForIdentifier)
260260
}
261261

262262
func TestInitializeRemoteStorageWithoutLocalIdentifier(t *testing.T) {

0 commit comments

Comments
 (0)