We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e96631 commit 2e841aeCopy full SHA for 2e841ae
api/api_test.go
@@ -1,6 +1,7 @@
1
package api
2
3
import (
4
+ "github.com/semaphoreui/semaphore/util"
5
//_ "github.com/snikch/goodman/hooks"
6
//_ "github.com/snikch/goodman/transaction"
7
"net/http"
@@ -9,6 +10,10 @@ import (
9
10
)
11
12
func TestApiPing(t *testing.T) {
13
+ util.Config = &util.ConfigType{
14
+ Debugging: &util.DebuggingConfig{},
15
+ }
16
+
17
req, _ := http.NewRequest("GET", "/api/ping", nil)
18
rr := httptest.NewRecorder()
19
0 commit comments