Making WordPress.org


Ignore:
Timestamp:
05/19/2020 05:33:14 AM (4 years ago)
Author:
dd32
Message:

Bump the PHPUnit Test Reporter plugin to v0.1.2

Props mikeschroder.
Fixes #5214.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/phpunit-test-reporter/parts/single-result.php

    r7227 r9884  
    1717    }
    1818    $host .= get_avatar(
    19         $user->ID, 18, '', '', array(
     19        $user->ID,
     20        18,
     21        '',
     22        '',
     23        array(
    2024            'extra_attr' => 'style="vertical-align: middle;margin-right:5px;"',
    2125        )
     
    3842$parent = get_post( $report->post_parent );
    3943if ( $parent ) :
    40 ?>
     44    ?>
    4145<p><a href="<?php echo esc_url( get_permalink( $parent ) ); ?>">&larr; <?php echo esc_html( $parent->post_name ) . ': ' . apply_filters( 'the_title', get_the_title( $parent ) ); ?></a></p>
    4246<?php endif; ?>
     
    7478        }
    7579        foreach ( $testsuite['testcases'] as $test_name => $testcase ) :
    76         ?>
     80            ?>
    7781        <p><strong><?php echo esc_html( $suite_name . '::' . $test_name ); ?></strong></p>
    7882        <pre><?php echo ! empty( $testcase['failure'] ) ? $testcase['failure'] : $testcase['error']; ?></pre>
Note: See TracChangeset for help on using the changeset viewer.