chunker: fix integration tests after backport commit 6baa4e294

It was my stupid typo: "f.base.NewObject" instead of correct "f.NewObject"
I made it during backport. The commit on master was correct.
This commit is contained in:
Ivan Andreev 2021-03-07 09:45:45 +03:00 committed by Nick Craig-Wood
parent 7ad2c22d5b
commit d45d48cbe5

View file

@ -487,7 +487,7 @@ func testPreventCorruption(t *testing.T, f *Fs) {
// accessing chunks in strict mode is prohibited
f.opt.FailHard = true
billyChunk4Name := billyChunkName(4)
_, err = f.base.NewObject(ctx, billyChunk4Name)
_, err = f.NewObject(ctx, billyChunk4Name)
assertOverlapError(err)
f.opt.FailHard = false