Changeset 61185 for trunk/tests/phpunit/tests/general/feedLinksExtra.php
- Timestamp:
- 11/07/2025 11:38:10 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/general/feedLinksExtra.php
r61056 r61185 2 2 /** 3 3 * Test feed_links_extra(). 4 *5 * @ticket 547136 4 * 7 5 * @group general … … 165 163 166 164 /** 165 * @ticket 54713 166 * 167 167 * @dataProvider data_feed_links_extra 168 * @ticket 54713 169 * 170 * @param string $title The expected title. 171 * @param string $type The name of the test class property containing the object ID. 172 * @param array $args { 168 * 169 * @param string $title The expected title. 170 * @param string $type The name of the test class property containing the object ID. 171 * @param array $args { 173 172 * Optional arguments. Default empty. 174 173 * … … 211 210 * @return array 212 211 */ 213 public function data_feed_links_extra() {212 public static function data_feed_links_extra() { 214 213 return array( 215 214 'a post with a comment' => array( … … 400 399 /** 401 400 * Helper function to get the permalink based on type. 402 *403 * @ticket 54713404 401 * 405 402 * @param string $type The name of the test class property containing the object ID. … … 523 520 524 521 /** 522 * @ticket 54703 523 * 525 524 * @dataProvider data_feed_links_extra_should_output_nothing_when_post_comments_feed_link_is_falsy 526 *527 * @ticket 54703528 525 * 529 526 * @param string $callback The callback to use for the 'post_comments_feed_link' filter. … … 582 579 583 580 /** 581 * @ticket 55904 582 * 584 583 * @dataProvider data_feed_links_extra_should_output_nothing_when_filters_return_false 585 *586 * @ticket 55904587 584 * 588 585 * @param string $type The name of the test class property containing the object ID. … … 603 600 * @return array 604 601 */ 605 public function data_feed_links_extra_should_output_nothing_when_filters_return_false() {602 public static function data_feed_links_extra_should_output_nothing_when_filters_return_false() { 606 603 return array( 607 604 'a post with a comment' => array(
Note: See TracChangeset
for help on using the changeset viewer.