on xenial help sign in
Fix the after reset test.
be0d72eRodney Dawes
tests/qmltests/Dash/tst_DashContent.qml+2−2
@@ -120,11 +120,11 @@ Item {
120 scopesModel.clear();
120 scopesModel.clear();
121 compare(dashContentList.count, 0, "DashContent should have 0 items after clearing");
121 compare(dashContentList.count, 0, "DashContent should have 0 items after clearing");
122 // pretend we're running after a model reset
122 // pretend we're running after a model reset
123− dashContentList.currentIndex = 27;
123+ dashContentList.currentIndex = 26;
124
124
125 loadScopes();
125 loadScopes();
126
126
127− compare(dashContentList.count, 28);
127+ compare(dashContentList.count, 27);
128 verify(dashContentList.currentIndex >= 0 && dashContentList.currentIndex < dashContentList.count);
128 verify(dashContentList.currentIndex >= 0 && dashContentList.currentIndex < dashContentList.count);
129 }
129 }
130
130