Closed bobbingwide closed 2 years ago
While running PHPUnit tests for PHP 8, with PHPUnit 9.5.2, I was getting the wrong results for [bw_post] and [bw_page].
I think it's something I did a while ago with SVG icons replacing dashicons.
1) Tests_oik_post_page::test_bw_post_no_params Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( 0 => '<a href="https://qw/src/wp-ad...Post">' - 1 => '<svg aria-hidden class="svg " role="img" focusable="false" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">' - 2 => '<path d="M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z" />' - 3 => '</svg>' - 4 => '</a>' + 1 => '<span class="texticons texticons-unknown ">' + 2 => '</span>' + 3 => '<span class="texticons texticons-dashicons-admin-post ">' + 4 => '</span>' + 5 => '</a>' )
Delivered in v2.2.1. Closing therefore
While running PHPUnit tests for PHP 8, with PHPUnit 9.5.2, I was getting the wrong results for [bw_post] and [bw_page].
I think it's something I did a while ago with SVG icons replacing dashicons.