diff options
Diffstat (limited to 'internal/vote/vote_test.go')
| -rw-r--r-- | internal/vote/vote_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/vote/vote_test.go b/internal/vote/vote_test.go index 0986e00..af8b741 100644 --- a/internal/vote/vote_test.go +++ b/internal/vote/vote_test.go @@ -8,7 +8,7 @@ import ( ) func TestVote(t *testing.T) { - conf := config.Config{Participants: []string{"foo:1234", "bay:4321"}} + conf := config.Config{Nodes: []string{"foo:1234", "bay:4321"}} v := New(conf, "earth:334234", " foo bar baz bay\n") if v.From != "earth" { @@ -29,7 +29,7 @@ func TestVote(t *testing.T) { } func TestVoteExpiry(t *testing.T) { - conf := config.Config{Participants: []string{"foo:1234", "bay:4321"}} + conf := config.Config{Nodes: []string{"foo:1234", "bay:4321"}} v := New(conf, "earth:334234", " foo bar baz bay\n") // Set expiry 1h into the future |
