Changeset 298 in tests
- Timestamp:
- 05/16/2010 08:06:12 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wp-testlib/base.php
r289 r298 430 430 } 431 431 432 /** i432 /** 433 433 * Skips the current test if there is open plugin ticket with id $ticket_id 434 434 */ … … 438 438 } 439 439 } 440 440 /** 441 * Skips the current test if the PHP version is not high enough 442 */ 443 function checkAtLeastPHPVersion($ver) { 444 if ( version_compare(PHP_VERSION, $ver, '<') ) { 445 $this->markTestSkipped(); 446 } 447 } 448 449 441 450 // convenience function: return the # of posts associated with a tag 442 451 function _tag_count($name) {
Note: See TracChangeset
for help on using the changeset viewer.