on xenial help sign in
Update oriented shell test to use new Orientations object
85cbe53Josh Arenson
tests/qmltests/tst_OrientedShell.qml+1−1
@@ -798,7 +798,7 @@ Rectangle {
798 // shell should remain in its primery orientation as the app in the main stage
798 // shell should remain in its primery orientation as the app in the main stage
799 // is the one that dictates its orientation. In this case it's unity8-dash
799 // is the one that dictates its orientation. In this case it's unity8-dash
800 // which supports only primary orientation
800 // which supports only primary orientation
801− compare(shell.orientation, orientedShell.primaryOrientation);
801+ compare(shell.orientation, orientedShell.orientations.primary);
802 }
802 }
803
803
804 function test_sideStageAppsRemainPortraitInSpread_data() {
804 function test_sideStageAppsRemainPortraitInSpread_data() {