Skip to content

Commit

Permalink
Add test data annotation to wpParseSlugList.php
Browse files Browse the repository at this point in the history
Added a comment block to annotate the 'data_wp_parse_slug_list' function, providing information on its associated ticket 60217. This enhances the readability and traceability of the code within the 'wpParseSlugList.php' test file.
  • Loading branch information
pbearne committed Jan 10, 2024
1 parent 966fd5f commit 1f22aab
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/phpunit/tests/functions/wpParseSlugList.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ public function test_wp_parse_slug_list( $input_list, $expected ) {
$this->assertSameSets( $expected, wp_parse_slug_list( $input_list ) );
}

/**
* data for test_wp_parse_slug_list
*
* @ticket 60217
*
* @return array[]
*/
public function data_wp_parse_slug_list() {
return array(
'simple' => array(
Expand Down

0 comments on commit 1f22aab

Please sign in to comment.