blockfetcher: fix invalid wallet test

Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
This commit is contained in:
Ekaterina Pavlova 2024-11-27 19:10:01 +03:00
parent c321eed8ee
commit 9fa07d8d6d

View file

@ -94,5 +94,6 @@ func TestServiceConstructor(t *testing.T) {
}
_, err := New(ledger, cfg, logger, mockPut.putBlock, shutdownCallback)
require.Error(t, err)
require.Contains(t, err.Error(), "open wallet: open invalid/path/to/wallet.json:")
})
}