From de132d39ec8e1ca5a9d09a7e8ce205dde3f82165 Mon Sep 17 00:00:00 2001 From: Dirk McCormick Date: Fri, 4 Sep 2020 15:48:13 +0200 Subject: [PATCH] fix: broken paych tests --- cli/paych_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cli/paych_test.go b/cli/paych_test.go index 8eaeb0f13..d4089c4ab 100644 --- a/cli/paych_test.go +++ b/cli/paych_test.go @@ -125,9 +125,9 @@ func TestPaymentChannelStatus(t *testing.T) { channelAmt := uint64(100) create := make(chan string) go func() { - // creator: paych get + // creator: paych add-funds cmd = []string{creatorAddr.String(), receiverAddr.String(), fmt.Sprintf("%d", channelAmt)} - create <- creatorCLI.runCmd(paychGetCmd, cmd) + create <- creatorCLI.runCmd(paychAddFundsCmd, cmd) }() // Wait for the output to stop being "Channel does not exist" @@ -344,10 +344,10 @@ func TestPaymentChannelVoucherCreateShortfall(t *testing.T) { mockCLI := newMockCLI(t) creatorCLI := mockCLI.client(paymentCreator.ListenAddr) - // creator: paych get + // creator: paych add-funds channelAmt := 100 cmd := []string{creatorAddr.String(), receiverAddr.String(), fmt.Sprintf("%d", channelAmt)} - chstr := creatorCLI.runCmd(paychGetCmd, cmd) + chstr := creatorCLI.runCmd(paychAddFundsCmd, cmd) chAddr, err := address.NewFromString(chstr) require.NoError(t, err)