]> WPIA git - gigi.git/blobdiff - tests/org/cacert/gigi/pages/wot/TestTTPAdmin.java
fix: use Group.getByString only when necessary
[gigi.git] / tests / org / cacert / gigi / pages / wot / TestTTPAdmin.java
index d04b0b66cd921f22cef3649fc9cee94045400c5b..12430b7c84ea36e4c3e6b06d8244230e7328c80a 100644 (file)
@@ -32,7 +32,7 @@ public class TestTTPAdmin extends ClientTest {
 
     public void testTTPAdmin(boolean hasRight) throws IOException, GigiApiException {
         if (hasRight) {
-            grant(u, Group.getByString("ttp-assurer"));
+            grant(u, Group.TTP_ASSURER);
         }
         grant(u, TTPAdminPage.TTP_APPLICANT);
         cookie = login(u.getEmail(), TEST_PASSWORD);