This repository was archived by the owner on Jun 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
browserup-proxy-core/src/test/groovy/com/browserup/bup/mitmproxy Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -833,7 +833,7 @@ class NewHarTest extends MockServerTest {
833833 String capturedUrl = har. log. entries[0 ]. request. url
834834 assertEquals (" URL captured in HAR did not match request URL" , " https://localhost:2" , capturedUrl)
835835
836- assertEquals (" Expected IP address to be populated" , " 127.0.0.1" , har . log . entries[ 0 ] . serverIPAddress )
836+ assertTrue (" Expected IP address to be populated" , har . log . entries[ 0 ] . serverIPAddress in [ " 127.0.0.1" , " ::1 " ] )
837837
838838 HarResponse harResponse = har. log. entries[0 ]. response
839839 assertNotNull (" No HAR response found" , harResponse)
@@ -887,7 +887,7 @@ class NewHarTest extends MockServerTest {
887887 String capturedUrl = har. log. entries[0 ]. request. url
888888 assertEquals (" URL captured in HAR did not match request URL" , requestUrl, capturedUrl)
889889
890- assertEquals (" Expected IP address to be populated" , " 127.0.0.1" , har . log . entries[ 0 ] . serverIPAddress )
890+ assertTrue (" Expected IP address to be populated" , har . log . entries[ 0 ] . serverIPAddress in [ " 127.0.0.1" , " ::1 " ] )
891891
892892 HarResponse harResponse = har. log. entries[0 ]. response
893893 assertNotNull (" No HAR response found" , harResponse)
You can’t perform that action at this time.
0 commit comments