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

Commit ca152c46 authored by Felipe Leme's avatar Felipe Leme Committed by Automerger Merge Worker
Browse files

Merge "Fixed UserManagerServiceShellCommandTest." into udc-dev am: d030a405

parents e8bd36a6 d030a405
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ public class UserManagerServiceShellCommandTest {
                new String[]{"get-main-user"}, mShellCallback, mResultReceiver));

        mWriter.flush();
        assertEquals("Main user id: 12", mOutStream.toString().trim());
        assertEquals("12", mOutStream.toString().trim());
    }

    @Test
@@ -118,7 +118,7 @@ public class UserManagerServiceShellCommandTest {
        assertEquals(1, mCommand.exec(mBinder, in, out, err,
                new String[]{"get-main-user"}, mShellCallback, mResultReceiver));
        mWriter.flush();
        assertEquals("Couldn't get main user.", mOutStream.toString().trim());
        assertEquals("None", mOutStream.toString().trim());
    }

    @Test