working on the failing testDynamicRaceLinking test case; the scoring scheme adjustments for non-sailed races broke this test;

Some competitors didn't have tracked ranks and previously were sorted to the end of the leaderboard. The new logic demands for
a low point scheme that they'd be sorted to the top of the leaderboard. While I think this is not useful (there should probably
be an exception for "no scores at all"), the test needs an adjustment of verdict for now.
This commit is contained in:
Axel Uhl committed 2014-09-15 22:40:38 +02:00
1 parent 45392fc6ff
commit 0d47d89c13
1 file changed
+1 -1
@@ -90,7 +90,7 @@ public class TestLeaderboardConfiguration extends AbstractSeleniumTest {
LeaderboardDetailsPanelPO leaderboardDetails = leaderboardConfiguration.getLeaderboardDetails(this.regatta.toString()); LeaderboardDetailsPanelPO leaderboardDetails = leaderboardConfiguration.getLeaderboardDetails(this.regatta.toString());
Integer[] expectedPointsForFindelJens = new Integer[] {2, 18, 12, 4, 7}; Integer[] expectedPointsForFindelJens = new Integer[] {2, 18, 12, 4, 7};
Integer[] expectedRankForFindelJens = new Integer[] {2, 8, 10, 6, 5}; Integer[] expectedRankForFindelJens = new Integer[] {3, 8, 10, 6, 5};
// Link the races and check the leaderboard again // Link the races and check the leaderboard again
for (int i = 0; i < 5; i++) { for (int i = 0; i < 5; i++) {