We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34e56b6 commit 46f3260Copy full SHA for 46f3260
invoices/invoiceregistry_test.go
@@ -122,7 +122,7 @@ func TestInvoiceRegistry(t *testing.T) {
122
makeKeyValueDB := func(t *testing.T) (invpkg.InvoiceDB,
123
*clock.TestClock) {
124
125
- testClock := clock.NewTestClock(testNow)
+ testClock := clock.NewTestClock(testTime)
126
db, err := channeldb.MakeTestInvoiceDB(
127
t, channeldb.OptionClock(testClock),
128
)
@@ -156,7 +156,7 @@ func TestInvoiceRegistry(t *testing.T) {
156
},
157
158
159
160
161
return invpkg.NewSQLStore(executor, testClock), testClock
162
}
0 commit comments