Skip to content

Commit

Permalink
Add test for donate link
Browse files Browse the repository at this point in the history
  • Loading branch information
ernilambar committed Nov 25, 2024
1 parent efe873b commit 095eb9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ Stable tag: trunk
License: Oculus VR Inc. Software Development Kit License
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: performance, testing, security
Donate link: not-a-valid-url

Here is a short description of the plugin.
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ public function test_run_md_with_errors() {

$this->assertCount( 1, wp_list_filter( $warnings['readme.md'][0][0], array( 'code' => 'mismatched_plugin_name' ) ) );
$this->assertCount( 1, wp_list_filter( $warnings['readme.md'][0][0], array( 'code' => 'readme_invalid_contributors' ) ) );
$this->assertCount( 1, wp_list_filter( $warnings['readme.md'][0][0], array( 'code' => 'readme_invalid_donate_link' ) ) );
}

public function test_single_file_plugin_without_error_for_trademarks() {
Expand Down

0 comments on commit 095eb9d

Please sign in to comment.