-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for no stable tag in readme check
- Loading branch information
1 parent
2b29dbc
commit 4fba8a4
Showing
3 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-no-stable-tag/load.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
/** | ||
* Plugin Name: Test Plugin Readme Errors (no stable tag) | ||
* Plugin URI: https://github.com/WordPress/plugin-check | ||
* Description: Test plugin for the Readme check. | ||
* Requires at least: 6.0 | ||
* Requires PHP: 5.6 | ||
* Version: n.e.x.t | ||
* Author: WordPress Performance Team | ||
* Author URI: https://make.wordpress.org/performance/ | ||
* License: GPLv2 or later | ||
* License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html | ||
* Text Domain: test-plugin-check-errors | ||
* | ||
* @package test-plugin-check-errors | ||
*/ |
11 changes: 11 additions & 0 deletions
11
tests/phpunit/testdata/plugins/test-plugin-plugin-readme-errors-no-stable-tag/readme.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
=== Test Plugin with readme === | ||
|
||
Contributors: plugin-check | ||
Requires at least: 6.0 | ||
Tested up to: 6.1 | ||
Requires PHP: 5.6 | ||
License: GPLv2 or later | ||
License URI: https://www.gnu.org/licenses/gpl-2.0.html | ||
Tags: testing, security | ||
|
||
Plugin description. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters