X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=tests%2Forg%2Fcacert%2Fgigi%2Fpages%2Faccount%2FTestMailManagement.java;h=190dd5a0237e4ba98d1751ba7ff9e99f7747a456;hb=5f0c781007ae0ddce24057654a0ab095bc2a2b5b;hp=5ad75a60ee23af66323dce418a27a9b74457766c;hpb=9031f0cf4327eaef9ede27f83cadf0b44833193c;p=gigi.git diff --git a/tests/org/cacert/gigi/pages/account/TestMailManagement.java b/tests/org/cacert/gigi/pages/account/TestMailManagement.java index 5ad75a60..190dd5a0 100644 --- a/tests/org/cacert/gigi/pages/account/TestMailManagement.java +++ b/tests/org/cacert/gigi/pages/account/TestMailManagement.java @@ -13,6 +13,7 @@ import org.cacert.gigi.dbObjects.EmailAddress; import org.cacert.gigi.dbObjects.ObjectCache; import org.cacert.gigi.dbObjects.User; import org.cacert.gigi.localisation.Language; +import org.cacert.gigi.pages.account.mail.MailOverview; import org.cacert.gigi.testUtils.ManagedTest; import org.junit.Test; @@ -71,9 +72,9 @@ public class TestMailManagement extends ManagedTest { @Test public void testMailSetDefaultWeb() throws MalformedURLException, UnsupportedEncodingException, IOException, InterruptedException, GigiApiException { - ObjectCache.clearAllCashes(); EmailAddress adrr = createVerifiedEmail(u); assertNull(executeBasicWebInteraction(cookie, path, "makedefault&emailid=" + adrr.getId())); + ObjectCache.clearAllCaches(); assertEquals(User.getById(u.getId()).getEmail(), adrr.getAddress()); }