mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-19 05:45:21 +01:00
tests: cleanup of fundingmanager_test.go
This commit cleans the fundingManager tests by extracting most of the common code from the different test cases into assert methods, making the test cases easier to follow and distinguish. It also adds a new test for the case where the peer goes offline, and the fundingManager must wait for it to come online before it can send the fundingLocked message and continue the funding flow.
This commit is contained in:
parent
b8cadf881c
commit
d981e12a3a