2022-09-07 16:30:33 +01:00
|
|
|
// Copyright (C) 2022 Storj Labs, Inc.
|
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
|
|
|
package main_test
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"github.com/stretchr/testify/require"
|
|
|
|
|
|
|
|
segmentverify "storj.io/storj/cmd/tools/segment-verify"
|
2022-09-09 09:16:22 +01:00
|
|
|
"storj.io/storj/private/testplanet"
|
2022-09-07 16:30:33 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
func TestService(t *testing.T) {
|
2022-09-09 09:16:22 +01:00
|
|
|
log := testplanet.NewLogger(t)
|
2022-09-15 15:23:10 +01:00
|
|
|
config := segmentverify.ServiceConfig{}
|
|
|
|
service := segmentverify.NewService(log.Named("segment-verify"), nil, nil, nil, config)
|
2022-09-07 16:30:33 +01:00
|
|
|
require.NotNil(t, service)
|
|
|
|
}
|