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 5159cfd commit a7be565Copy full SHA for a7be565
internal/messagebirdtest/test_server.go
@@ -36,12 +36,6 @@ func closeServer() {
36
server.Close()
37
}
38
39
-// WillReturn sets the body (r) and status (s) for the test server to respond with.
40
-func WillReturn(b []byte, s int) {
41
- responseBody = b
42
- status = s
43
-}
44
-
45
// WillReturnTestdata sets the status (s) for the test server to respond with.
46
// Additionally it reads the bytes from the relativePath file and returns that
47
// for requests. It fails the test if the file can not be read. The path is
0 commit comments