diff --git a/inc/helpers/aksrt-header-userbox.php b/inc/helpers/aksrt-header-userbox.php index 9f27eab7..377001da 100644 --- a/inc/helpers/aksrt-header-userbox.php +++ b/inc/helpers/aksrt-header-userbox.php @@ -144,7 +144,7 @@ if (!function_exists('aksrt_header_user_wallet_mini')) : . '' . '
' . esc_html(aksrt_cut_count((float) aksrt_user_balance_decimal($user_id))) - . '
'; + . ''; } if ($points_on) { @@ -154,7 +154,7 @@ if (!function_exists('aksrt_header_user_wallet_mini')) : . '' . '
' . esc_html(aksrt_cut_count(aksrt_user_points($user_id))) - . '
'; + . ''; } return '
' . $box . '
'; diff --git a/tests/navigation/legacy-navigation-contract.test.cjs b/tests/navigation/legacy-navigation-contract.test.cjs index b5f01bcc..3872f2e8 100644 --- a/tests/navigation/legacy-navigation-contract.test.cjs +++ b/tests/navigation/legacy-navigation-contract.test.cjs @@ -201,8 +201,8 @@ test('the account popover rows match the reference user box structure', () => { assert.match(header, /muted-box padding-6 flex1 radius4/); assert.match(header, /font-bold c-blue-2/); assert.match(header, /font-bold c-yellow/); - assert.match(header, /fa fas fa-money-bill-wave/); - assert.match(header, /fa fas fa-coins/); + assert.match(header, /fa fas fa-money-bill-wave em14 c-blue-2/); + assert.match(header, /fa fas fa-coins em14 c-yellow/); // Message icon uses the reference markup. assert.match(header, /msg-news-icon abs-right/);