Skip to content

Commit

Permalink
Fixes unittest issues
Browse files Browse the repository at this point in the history
  • Loading branch information
saltiyazan committed May 2, 2024
1 parent 8ae91a9 commit c7442d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion internal/api/handlers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ func TestGoCertRouter(t *testing.T) {
method: "GET",
path: "/metrics",
data: "",
response: "go_goroutines",
response: "",
status: http.StatusOK,
},
}
Expand Down
8 changes: 4 additions & 4 deletions internal/api/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ import (
)

type ConfigYAML struct {
KeyPath string `yaml:"KeyPath"`
CertPath string `yaml:"CertPath"`
DBPath string `yaml:"DBPath"`
Port int `yaml:"Port"`
KeyPath string
CertPath string
DBPath string
Port int
}

type Config struct {
Expand Down

0 comments on commit c7442d4

Please sign in to comment.