mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 18:37:17 +00:00 
			
		
		
		
	Fixed MoveFileTest.java
This commit is contained in:
		
							parent
							
								
									d4af8a6a33
								
							
						
					
					
						commit
						dc26392647
					
				| @ -24,9 +24,7 @@ | ||||
|  --> | ||||
|   | ||||
| <resources> | ||||
|     <string name="server_base_url"></string>				<!-- the server url, without webdav path --> | ||||
|     <string name="webdav_path">/remote.php/webdav</string> 	<!-- default value for webdav path (owncloud version > = 4)--> | ||||
|     <string name="server_base_url"></string> | ||||
|     <string name="username"></string> | ||||
|     <string name="password"></string> | ||||
|     <bool name="chunked">true</bool> | ||||
| </resources> | ||||
|  | ||||
| @ -95,8 +95,6 @@ public class MoveFileTest extends AndroidTestCase { | ||||
| 	  protected void setUp() throws Exception { | ||||
| 	    super.setUp(); | ||||
| 	     | ||||
| 	    if (!mGlobalSetupDone) { | ||||
| 	    	 | ||||
| 		mServerUri = getContext().getString(R.string.server_base_url); | ||||
| 		mUser = getContext().getString(R.string.username); | ||||
| 		mPass = getContext().getString(R.string.password); | ||||
| @ -116,6 +114,8 @@ public class MoveFileTest extends AndroidTestCase { | ||||
| 				) | ||||
| 		); | ||||
|      | ||||
| 	    if (!mGlobalSetupDone) { | ||||
| 	    	 | ||||
| 		    Log.v(LOG_TAG, "Starting global set up"); | ||||
| 		    RemoteOperationResult result =  | ||||
| 		    		TestActivity.createFolder(SRC_FOLDER_PATH, true, mClient); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user