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

Commit 53caafbb authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

fix server credential loading

parent fce55dbd
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -45,9 +45,9 @@ android {
            returnDefaultValues = true
            includeAndroidResources = true
            unitTests.all {
                systemProperty 'test.account.url', "\""+getTestProp("testServerUrl")+"\""
                systemProperty 'test.account.username', "\""+getTestProp("testAccountName")+"\""
                systemProperty 'test.account.password', "\""+getTestProp("testAccountPwd")+"\""
                systemProperty 'test.account.url', getTestProp("testServerUrl")
                systemProperty 'test.account.username', getTestProp("testAccountName")
                systemProperty 'test.account.password', getTestProp("testAccountPwd")
            }
        }
    }
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ public abstract class TestUtils {
     */
    public static void loadServerCredentials() {
        final Properties properties = System.getProperties();
        TEST_ACCOUNT_PASSWORD = properties.getProperty("test.account.url");
        TEST_ACCOUNT_PASSWORD = properties.getProperty("test.account.password");
        TEST_ACCOUNT_NAME = properties.getProperty("test.account.username");
        TEST_SERVER_URI = properties.getProperty("test.account.url");
    }