Skip to content

Commit 77be137

Browse files
committed
fix(ref): added unit tests for hashnode
1 parent 9470a78 commit 77be137

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/go/0chain.net/blobbercore/reference/hashnode_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ FROM reference_objects`).
142142
it.mock()
143143
}
144144

145-
r, err := LoadRoot(context.TODO(), it.allocationID)
145+
r, err := LoadRootHashnode(context.TODO(), it.allocationID)
146146

147147
it.assert(test, it.allocationID, r, err)
148148

@@ -378,7 +378,7 @@ FROM reference_objects`).
378378
it.mock()
379379
}
380380

381-
r, err := LoadRoot(context.TODO(), it.allocationID)
381+
r, err := LoadRootHashnode(context.TODO(), it.allocationID)
382382

383383
it.assert(test, it.allocationID, r, err)
384384

0 commit comments

Comments
 (0)