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
3c7a1abbe7
commit
756ea8c631
@ -83,6 +83,12 @@ class StatusRequestorTest {
|
||||
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 {
|
||||
const val TEST_DOMAIN = "https://cloud.somewhere.com"
|
||||
const val SUB_PATH = "/subdir"
|
||||
|
Loading…
x
Reference in New Issue
Block a user