on xenial help sign in
Fix the after reset test.
commitbe0d72ee82e4b59a4b1587d7563b8375f5c9cd88 authorRodney Dawes <rodney.dawes@canonical.com> dateFri 27 Jan 2017, 14:30 (10 years ago) parent68b7a6c
1 file changed+2−2
tests/qmltests/Dash/tst_DashContent.qml+2−2
tests/qmltests/Dash/tst_DashContent.qml+2−2
@@ -120,11 +120,11 @@ Item {
120120 scopesModel.clear();
121121 compare(dashContentList.count, 0, "DashContent should have 0 items after clearing");
122122 // pretend we're running after a model reset
123− dashContentList.currentIndex = 27;
123+ dashContentList.currentIndex = 26;
124124
125125 loadScopes();
126126
127− compare(dashContentList.count, 28);
127+ compare(dashContentList.count, 27);
128128 verify(dashContentList.currentIndex >= 0 && dashContentList.currentIndex < dashContentList.count);
129129 }
130130