@@ -58,4 +58,31 @@ public function testToolbarToggling() {
$this->assertTrue($tray->hasClass('toolbar-tray-horizontal'),'After toggling the orientation a second time the toolbar tray is displayed horizontally again.');
}
/**
* Tests that the orientation toggle is not shown for empty toolbar items.
*/
publicfunctiontestEmptyTray(){
// Granting access to the toolbar but not any administrative menu links will
// result in an empty toolbar tray for the "Manage" toolbar item.