Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/17/2025 06:00:44 AM (8 months ago)
Author:
johnjamesjacoby
Message:

Tools - Unit Tests: Fix some failing tests.

This commit tweaks the expected values of some tests so that they pass as intended, mostly surrounding int/string type numerics and total/single counts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/users/template/user.php

    r7353 r7365  
    714714                $this->set_permalink_structure( '/%postname%/' );
    715715                $author_link = '<a href="http://' . WP_TESTS_DOMAIN . '/forums/users/' . $this->keymaster_userdata->user_nicename . '/" title="View ' . $display_name . '&#039;s profile" class="bbp-author-link"><span class="bbp-author-avatar">' . $wp_avatar .
    716                         '</span>&nbsp;<span class="bbp-author-name">' . $display_name . '</span></a>';
     716                        '</span><span class="bbp-author-name">' . $display_name . '</span></a>';
    717717
    718718                // String.
     
    729729                $author_link = '<a href="http://' . WP_TESTS_DOMAIN . '/?bbp_user=' . $this->keymaster_id . '" title="View ' . $display_name .
    730730                        '&#039;s profile" class="bbp-author-link"><span class="bbp-author-avatar">' . $wp_avatar .
    731                         '</span>&nbsp;<span class="bbp-author-name">' . $display_name . '</span></a>';
     731                        '</span><span class="bbp-author-name">' . $display_name . '</span></a>';
    732732
    733733                // String.
Note: See TracChangeset for help on using the changeset viewer.