diff --git a/lib/templates/action_menu_trigger.mustache b/lib/templates/action_menu_trigger.mustache
index bab31932683..fce1a8b7e1f 100644
--- a/lib/templates/action_menu_trigger.mustache
+++ b/lib/templates/action_menu_trigger.mustache
@@ -27,4 +27,4 @@
"triggerextraclasses": ""
}
}}
-
+
diff --git a/lib/tests/user_menu_test.php b/lib/tests/user_menu_test.php
index 175be4c3990..1e9d2905cb0 100644
--- a/lib/tests/user_menu_test.php
+++ b/lib/tests/user_menu_test.php
@@ -96,8 +96,7 @@ test
$dividercount += 2;
// The basic entry count will additionally include the wrapper menu, Dashboard, Profile, Logout and switch roles link.
- // On clean theme only, the trigger is also a menuitem.
- $entrycount += 5;
+ $entrycount += 4;
$output = $OUTPUT->user_menu($USER);
preg_match_all('/]+role="menuitem"[^>]+>/', $output, $results);