r3648 - trunk/pollen-ui-struts2/src/test/java/org/chorem/pollen/ui/it
Author: tchemit Date: 2012-08-28 18:28:01 +0200 (Tue, 28 Aug 2012) New Revision: 3648 Url: http://chorem.org/repositories/revision/pollen/3648 Log: improve tests constructor Modified: trunk/pollen-ui-struts2/src/test/java/org/chorem/pollen/ui/it/AbstractPollIT.java Modified: trunk/pollen-ui-struts2/src/test/java/org/chorem/pollen/ui/it/AbstractPollIT.java =================================================================== --- trunk/pollen-ui-struts2/src/test/java/org/chorem/pollen/ui/it/AbstractPollIT.java 2012-08-28 16:26:50 UTC (rev 3647) +++ trunk/pollen-ui-struts2/src/test/java/org/chorem/pollen/ui/it/AbstractPollIT.java 2012-08-28 16:28:01 UTC (rev 3648) @@ -47,13 +47,12 @@ protected final PollUri creatorUri; protected AbstractPollIT(Class<? extends WebDriver> driverType, - String pollId, String creatorId) { + String pollIdAccountId) { super(driverType); - this.pollId = pollId; - this.creatorId = creatorId; - + creatorUri = PollUri.newPollUri(pollIdAccountId); + this.pollId = creatorUri.getPollId(); + this.creatorId = creatorUri.getAccountId(); pollUri = PollUri.newPollUri(pollId); - creatorUri = PollUri.newPollUri(pollId, creatorId); } protected PollUri newPollUri(String accountId) {
participants (1)
-
tchemit@users.chorem.org