X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=tests%2Fclub%2Fwpia%2Fgigi%2Fpages%2FTestVerify.java;h=34723f900495a639de5d9944f25111572e6b0cc4;hb=7ea933e2e4cac62194d860cf213c1fd106ce76c5;hp=d1b799b5688d3d03c118a3952ce57b977144bdb7;hpb=bccd4cc0dba0f89aa045b113bac46eb8cc1dab4e;p=gigi.git diff --git a/tests/club/wpia/gigi/pages/TestVerify.java b/tests/club/wpia/gigi/pages/TestVerify.java index d1b799b5..34723f90 100644 --- a/tests/club/wpia/gigi/pages/TestVerify.java +++ b/tests/club/wpia/gigi/pages/TestVerify.java @@ -19,7 +19,7 @@ public class TestVerify extends ClientBusinessTest { @Test public void testVerify() throws GigiApiException { EmailAddress ea = new EmailAddress(u, "test@example.com", Locale.ENGLISH); - TestMail tm = getMailReceiver().receive(); + TestMail tm = getMailReceiver().receive(ea.getAddress()); Pattern p = Pattern.compile(".*hash=(.*)"); Matcher m = p.matcher(tm.extractLink()); assertTrue(m.matches());