Skip to content

Commit 2dbc985

Browse files
committed
fix ut
1 parent a50dc88 commit 2dbc985

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

code/go/0chain.net/validatorcore/storage/models_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,7 @@ func TestChallengeRequest_VerifyChallenge(t *testing.T) {
572572
RandomNumber: int64(1),
573573
AllocationID: "2",
574574
},
575+
alloc: &storage.Allocation{},
575576
wantErr: true,
576577
wantErrMsg: "Invalid write marker",
577578
},
@@ -612,6 +613,7 @@ func TestChallengeRequest_VerifyChallenge(t *testing.T) {
612613
RandomNumber: int64(1),
613614
AllocationID: "1",
614615
},
616+
alloc: &storage.Allocation{},
615617
wantErr: true,
616618
wantErrMsg: "Invalid write marker",
617619
},

0 commit comments

Comments
 (0)