Skip to content
This repository was archived by the owner on Jun 11, 2024. It is now read-only.

Commit 136de49

Browse files
committed
Location header fix in test
1 parent 61d78ce commit 136de49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

browserup-proxy-rest/src/test/groovy/com/browserup/bup/proxy/mitmproxy/assertion/mostrecent/status/MostRecentEntryAssertStatusRedirectionRestTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class MostRecentEntryAssertStatusRedirectionRestTest extends BaseRestTest {
117117
}
118118

119119
protected void mockTargetServerResponse(String url, int status) {
120-
def redirectUrl = 'test.com'
120+
def redirectUrl = 'http://test.com'
121121
def response = aResponse().withStatus(status)
122122
.withHeader('Location', redirectUrl)
123123
.withHeader('Content-Type', 'text/plain')

0 commit comments

Comments
 (0)