storj/satellite/contact/endpoint_test.go
Márton Elek bca46736bb satellite/contact: send evenkit entry only with existing fields
Change-Id: Ifdd6c14de5f99c3c9bb8b1e9e2dce8c1e1c3b1ed
2023-10-25 16:16:20 +00:00

20 lines
399 B
Go

// Copyright (C) 2023 Storj Labs, Inc.
// See LICENSE for copying information.
package contact
import (
"testing"
"storj.io/common/pb"
"storj.io/common/testcontext"
"storj.io/storj/satellite/overlay"
)
func TestEmitEventkitEvent(t *testing.T) {
ctx := testcontext.New(t)
emitEventkitEvent(ctx, &pb.CheckInRequest{
Address: "127.0.0.1:234",
}, false, false, overlay.NodeCheckInInfo{})
}