mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 16:06:08 +00:00
add test from redirect from http to http
This commit is contained in:
parent
950d3a50da
commit
61ee5aab91
@ -83,6 +83,12 @@ class StatusRequestorTest {
|
|||||||
true, SECURE_DOMAIN, SECURE_DOMAIN))
|
true, SECURE_DOMAIN, SECURE_DOMAIN))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun `check redirect to unsecure connection - ok - from http to http`() {
|
||||||
|
assertFalse(requester.isRedirectedToNonSecureConnection(
|
||||||
|
false, UNSECURE_DOMAIN, UNSECURE_DOMAIN))
|
||||||
|
}
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
const val TEST_DOMAIN = "https://cloud.somewhere.com"
|
const val TEST_DOMAIN = "https://cloud.somewhere.com"
|
||||||
const val SUB_PATH = "/subdir"
|
const val SUB_PATH = "/subdir"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user