From cd42661f653de3c62b6586e29c394693f679dae9 Mon Sep 17 00:00:00 2001 From: ayn leslie Date: Wed, 31 Dec 2014 11:48:21 -0800 Subject: [PATCH] Clearing out userPrefrences after test runs that load proxy information. --- .../java/com/socrata/datasync/job/LoadPreferencesJobTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/java/com/socrata/datasync/job/LoadPreferencesJobTest.java b/src/test/java/com/socrata/datasync/job/LoadPreferencesJobTest.java index 36caadf9..0c9cbdd2 100644 --- a/src/test/java/com/socrata/datasync/job/LoadPreferencesJobTest.java +++ b/src/test/java/com/socrata/datasync/job/LoadPreferencesJobTest.java @@ -71,6 +71,7 @@ public void testLoadIncompletePreferencesWithClearStart() throws ParseException, TestCase.assertEquals("5oMeTokEN", userPrefs.getAPIKey()); TestCase.assertEquals("https://someDomain.com", userPrefs.getProxyHost()); TestCase.assertEquals("8080", userPrefs.getProxyPort()); + userPrefs.clear(); } @Test @@ -100,6 +101,7 @@ public void testLoadIncompletePreferencesWithMessyStart() throws ParseException, TestCase.assertEquals("", userPrefs.getSmtpPassword()); TestCase.assertEquals("10", userPrefs.getFilesizeChunkingCutoffMB()); // has default TestCase.assertEquals("10000", userPrefs.getNumRowsPerChunk()); // has default + userPrefs.clear(); } @Test