Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnStarich committed May 21, 2020
1 parent efd0a98 commit 9bd4e92
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions ledger/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ func starterStore(t *testing.T) *Store {
ldg, err := New(nil)
require.NoError(t, err)
return &Store{
Ledger: ldg,
logger: zaptest.NewLogger(t),
syncing: atomic.NewBool(false),
lastSyncErr: atomic.NewError(nil),
syncFile: func() error { return nil },
Ledger: ldg,
logger: zaptest.NewLogger(t),
syncPromptRequest: &atomic.Value{},
syncing: atomic.NewBool(false),
lastSyncErr: atomic.NewError(nil),
syncFile: func() error { return nil },
syncLedger: func(start, end time.Time, download downloader, processTxns txnMutator, ldg *Ledger, logger *zap.Logger, prompt prompter.Prompter) error {
return nil
},
Expand Down

0 comments on commit 9bd4e92

Please sign in to comment.