on xenial help sign in
adapt test
commit8be70fd34fd0fed6c21c59af91f1e38be0baded8 authorAlbert Astals <albert.astals@canonical.com> dateTue 20 May 2014, 16:49 (12 years ago) parent0f25431
1 file changed+1−1
tests/qmltests/Dash/tst_DashContent.qml+1−1
tests/qmltests/Dash/tst_DashContent.qml+1−1
@@ -166,7 +166,7 @@ Item {
166166
167167 // test greater than scope count.
168168 var currentScopeIndex = dashContent.currentIndex;
169− dashContent.setCurrentScopeAtIndex(scopesModel.count, true, false);
169+ dashContent.setCurrentScopeAtIndex(8, true, false);
170170 compare(dashContent.currentIndex, currentScopeIndex, "Scope should not change if changing to greater index than count");
171171 }
172172