Closed JDGrimes closed 6 years ago
The error is still thrown, but the HTML is not identical:
1) WordPoints_WooCommerce_Points_Gateway_Test::test_processing_payment Failed asserting that two strings are identical. --- Expected +++ Actual @@ @@ -<ul class="woocommerce-error"> +<ul class="woocommerce-error" role="alert"> <li>WordPoints_WooCommerce_Points_Gateway_Test</li> </ul> /Users/johngrimes/git/_wordpoints-modules/woocommerce/tests/phpunit/tests/points/gateways/points.php:521 /Users/johngrimes/git/_wordpoints-modules/woocommerce/tests/phpunit/tests/points/gateways/points.php:193
We should ideally make the tests a bit more generic, I guess.
The error is still thrown, but the HTML is not identical:
We should ideally make the tests a bit more generic, I guess.