Skip to content

Commit

Permalink
remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
davidperezgar committed Mar 5, 2025
1 parent 1585ca2 commit 65f24e3
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,6 @@ public function test_run_with_errors_tested_upto_minor() {

$errors = $check_result->get_errors();

var_dump( $errors );
ob_flush();

$this->assertNotEmpty( $errors );
$this->assertArrayHasKey( 'readme.txt', $errors );

Expand Down Expand Up @@ -509,7 +506,7 @@ public function test_run_with_errors_tested_up_to_latest_plus_two_version() {

$this->assertNotEmpty( $errors );

$filtered_items = wp_list_filter( $errors['readme.md'][0][0], array( 'code' => 'nonexistent_tested_upto_header' ) );å
$filtered_items = wp_list_filter( $errors['readme.md'][0][0], array( 'code' => 'nonexistent_tested_upto_header' ) );

$this->assertCount( 1, $filtered_items );
$this->assertStringContainsString( 'Tested up to: 6.1', $filtered_items[1]['message'] );
Expand Down

0 comments on commit 65f24e3

Please sign in to comment.