Skip to content

Commit

Permalink
#146: Covered HTTP default config
Browse files Browse the repository at this point in the history
  • Loading branch information
roma-glushko committed Mar 17, 2024
1 parent d1086f5 commit 4cd25c8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pkg/api/http/config_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package http

import (
"github.com/stretchr/testify/require"
"testing"
)

func TestHTTPConfig_DefaultConfig(t *testing.T) {
config := DefaultServerConfig()

require.NotNil(t, config.Address())
require.NotNil(t, config.ToServer())
}

0 comments on commit 4cd25c8

Please sign in to comment.