Skip to content

Commit

Permalink
#146: Test configs
Browse files Browse the repository at this point in the history
  • Loading branch information
roma-glushko committed Mar 17, 2024
1 parent 4cd25c8 commit 0cd0374
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pkg/api/http/config_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package http

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

"github.com/stretchr/testify/require"
)

func TestHTTPConfig_DefaultConfig(t *testing.T) {
Expand Down
10 changes: 8 additions & 2 deletions pkg/routers/retry/config_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
package retry

import "testing"
import (
"testing"

"github.com/stretchr/testify/require"
)

func TestRetryConfig_DefaultConfig(t *testing.T) {
DefaultExpRetryConfig()
config := DefaultExpRetryConfig()

require.NotNil(t, config)
}

0 comments on commit 0cd0374

Please sign in to comment.