Changeset 47122 for trunk/tests/phpunit/tests/basic.php
- Timestamp:
- 01/29/2020 12:43:23 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/basic.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/basic.php
r46586 r47122 9 9 10 10 function test_license() { 11 // This test is designed to only run on trunk/master 11 // This test is designed to only run on trunk/master. 12 12 $this->skipOnAutomatedBranches(); 13 13 … … 22 22 $package_json = json_decode( $package_json, true ); 23 23 list( $version ) = explode( '-', $GLOBALS['wp_version'] ); 24 // package.json uses x.y.z, so fill cleaned $wp_version for .0 releases 24 // package.json uses x.y.z, so fill cleaned $wp_version for .0 releases. 25 25 if ( 1 === substr_count( $version, '.' ) ) { 26 26 $version .= '.0'; … … 40 40 } 41 41 42 // test some helper utility functions42 // Test some helper utility functions. 43 43 44 44 function test_strip_ws() { … … 76 76 <ol id="authors"><form action="?import=wordpress&step=2&id=" method="post"><input type="hidden" name="_wpnonce" value="855ae98911" /><input type="hidden" name="_wp_http_referer" value="wp-test.php" /><li>Current author: <strong>Alex Shiels</strong><br />Create user <input type="text" value="Alex Shiels" name="user[]" maxlength="30"> <br /> or map to existing<select name="userselect[0]"> 77 77 EOF; 78 // _wpnonce value should be replaced with 'xxx' 78 // _wpnonce value should be replaced with 'xxx'. 79 79 $expected = <<<EOF 80 80 <h2>Assign Authors</h2>
Note: See TracChangeset
for help on using the changeset viewer.