Skip to content

Commit

Permalink
fix: failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
kehiy committed Jan 4, 2024
1 parent 40e3ad8 commit 0df1365
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/grpc/network_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package grpc

import (
"fmt"
"testing"

"github.com/libp2p/go-libp2p/core/peer"
Expand Down Expand Up @@ -47,7 +48,7 @@ func TestGetNodeInfo(t *testing.T) {
res, err := client.GetNodeInfo(tCtx, &pactus.GetNodeInfoRequest{})
assert.NoError(t, err)
assert.Nil(t, err)
assert.Equal(t, version.Agent(), res.Agent)
assert.Equal(t, fmt.Sprintf("%v/reachability=%v", version.Agent(), "Unknown"), res.Agent)
assert.Equal(t, []byte(tMockSync.SelfID()), res.PeerId)
assert.Equal(t, "test-moniker", res.Moniker)

Expand Down

0 comments on commit 0df1365

Please sign in to comment.