Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
Hitenjain14 committed Nov 14, 2024
1 parent 704f27a commit 2906c47
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions code/go/0chain.net/blobbercore/filestore/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,6 @@ func setupMockForFileManagerInit(mock sqlmock.Sqlmock, ip initParams) {
sqlmock.NewRows([]string{"count"}).AddRow(ip.totalRefs),
)

mock.ExpectQuery(regexp.QuoteMeta(`SELECT sum(size) as file_size FROM "reference_objects" WHERE`)).
WillReturnRows(
sqlmock.NewRows([]string{"file_size"}).AddRow(ip.usedSize),
)

mock.ExpectCommit()

}
Expand Down

0 comments on commit 2906c47

Please sign in to comment.