X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=tests%2Forg%2Fcacert%2Fgigi%2Fpages%2Fadmin%2FTestSEAdminPageDetails.java;h=3cb78b9a10b232b91de888fc500739de040366b9;hp=b554a2c3390e1ff1782d586fe1dfdc2162d621e1;hb=330e2b7a3c2e525fee83ee5392df483e1be1f399;hpb=1f18f8f4e967518962546c8b9a11aa73eaccf676 diff --git a/tests/org/cacert/gigi/pages/admin/TestSEAdminPageDetails.java b/tests/org/cacert/gigi/pages/admin/TestSEAdminPageDetails.java index b554a2c3..3cb78b9a 100644 --- a/tests/org/cacert/gigi/pages/admin/TestSEAdminPageDetails.java +++ b/tests/org/cacert/gigi/pages/admin/TestSEAdminPageDetails.java @@ -12,7 +12,7 @@ import java.util.regex.Pattern; import org.cacert.gigi.dbObjects.Group; import org.cacert.gigi.pages.account.MyDetails; -import org.cacert.gigi.pages.account.UserHistory; +import org.cacert.gigi.pages.account.History; import org.cacert.gigi.pages.admin.support.SupportEnterTicketPage; import org.cacert.gigi.pages.admin.support.SupportUserDetailsPage; import org.cacert.gigi.testUtils.ClientTest; @@ -104,11 +104,11 @@ public class TestSEAdminPageDetails extends ClientTest { } private int logCountAdmin(int id) throws IOException { - return getLogEntryCount(IOUtils.readURL(get(UserHistory.SUPPORT_PATH.replace("*", Integer.toString(id))))); + return getLogEntryCount(IOUtils.readURL(get(History.SUPPORT_PATH.replace("*", Integer.toString(id))))); } private int logCountUser(String cookie) throws IOException { - return getLogEntryCount(IOUtils.readURL(get(cookie, UserHistory.PATH))); + return getLogEntryCount(IOUtils.readURL(get(cookie, History.PATH))); } private int getLogEntryCount(String readURL) {