mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 10:27:45 +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)) | ||||
|     } | ||||
| 
 | ||||
|     @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