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

Commit 46f5df7e authored by Ben Lin's avatar Ben Lin
Browse files

Fixed DocumentsMenuManagerTest#testRootContextMenu.

These items were suppose to be invisible for DocumentsActivity ... I
forgot to assert them that way.

Bug: 30071769
Change-Id: I842f5bfb2492d31e0837c6ea6cc78d9867bb0a1b
parent 5668b866
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -222,11 +222,8 @@ public final class DocumentsMenuManagerTest {
        DocumentsMenuManager mgr = new DocumentsMenuManager(testSearchManager, state);
        mgr.updateRootContextMenu(testMenu, testRootInfo);

        eject.assertVisible();
        eject.assertDisabled();

        settings.assertVisible();
        settings.assertDisabled();
        eject.assertInvisible();
        settings.assertInvisible();
    }

    @Test