Skip to content

Commit a7be565

Browse files
committed
Remove WillReturn: no longer used
1 parent 5159cfd commit a7be565

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

internal/messagebirdtest/test_server.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ func closeServer() {
3636
server.Close()
3737
}
3838

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-
4539
// WillReturnTestdata sets the status (s) for the test server to respond with.
4640
// Additionally it reads the bytes from the relativePath file and returns that
4741
// for requests. It fails the test if the file can not be read. The path is

0 commit comments

Comments
 (0)