瀏覽代碼

Fix wrong initialization for FileDataStorageManagerContentProviderClientIT

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Álvaro Brey 2 年之前
父節點
當前提交
0287e34cdc

+ 0 - 3
app/src/androidTest/java/com/owncloud/android/datamodel/FileDataStorageManagerContentProviderClientIT.java

@@ -30,8 +30,6 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotNull;
 
 public class FileDataStorageManagerContentProviderClientIT extends FileDataStorageManagerIT {
-    protected FileDataStorageManager sut;
-
     public void before() {
         sut = new FileDataStorageManager(user,
                                          targetContext
@@ -44,7 +42,6 @@ public class FileDataStorageManagerContentProviderClientIT extends FileDataStora
 
     @Test
     public void saveFile() {
-        before();
 
         String path = "/1.txt";
         OCFile file = new OCFile(path);