Skip to content

Commit 4725092

Browse files
committed
Set the status to 200 by default, unless overriden
1 parent 6c8d663 commit 4725092

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/messagebirdtest/test_server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
var server *httptest.Server
1111

1212
var responseBody []byte
13-
var status int
13+
var status int = 200
1414

1515
// EnableServer starts a fake server, runs the test and closes the server.
1616
func EnableServer(m *testing.M) {

0 commit comments

Comments
 (0)