Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 40aaf96c authored by Mark Harman's avatar Mark Harman
Browse files

Fix failing tests due to recent changes to FolderChooserDialog, now need to call setStartFolder().

parent 211a3713
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -8423,6 +8423,7 @@ public class MainActivityTest extends ActivityInstrumentationTestCase2<MainActiv
        }
        FolderChooserDialog fragment = new FolderChooserDialog();
		fragment.setStartFolder(mActivity.getImageFolder());
        fragment.show(mActivity.getFragmentManager(), "FOLDER_FRAGMENT");
        Thread.sleep(1000); // wait until folderchooser started up
        Log.d(TAG, "started folderchooser");
@@ -8446,6 +8447,7 @@ public class MainActivityTest extends ActivityInstrumentationTestCase2<MainActiv
        }
        FolderChooserDialog fragment = new FolderChooserDialog();
		fragment.setStartFolder(mActivity.getImageFolder());
        fragment.show(mActivity.getFragmentManager(), "FOLDER_FRAGMENT");
        Thread.sleep(1000); // wait until folderchooser started up
        Log.d(TAG, "started folderchooser");