diff options
Diffstat (limited to 'whisper/mailserver/server_test.go')
-rw-r--r-- | whisper/mailserver/server_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/whisper/mailserver/server_test.go b/whisper/mailserver/server_test.go index 24abf6c1a..02b30ff5e 100644 --- a/whisper/mailserver/server_test.go +++ b/whisper/mailserver/server_test.go @@ -84,7 +84,9 @@ func TestMailServer(t *testing.T) { } var server WMailServer - shh = whisper.NewWhisper(&server) + shh = whisper.New() + shh.RegisterServer(&server) + server.Init(shh, dbPath, password, powRequirement) defer server.Close() |