HomePhabricator

Fix off-by-one error in badge tests

Tags
None
Referenced Files
None
Subscribers
None

Description

Fix off-by-one error in badge tests

The tests should select the 1. and 2. badge from the badges list but was
using indexes 1 and 2 for accessing the badges array, so the test was
actually selecting the 2. and 3. badge from the list.

Change-Id: I6d458a7764402dc304197c26455ec483ddfabaac

Details

Provenance
Tobi_WMDE_SWAuthored on Jul 28 2016, 1:53 PM
Parents
R1909:5b311ec41286: Make reference browsertests more robust
Branches
Unknown
Tags
Unknown
References
refs/changes/98/301598/3
ChangeId
I6d458a7764402dc304197c26455ec483ddfabaac

Event Timeline