mirror of
git://develop.git.wordpress.org/
synced 2025-02-12 02:44:22 +01:00
Unit Tests: Add description for data_get_comments_number_text_declension()
.
See #13651. git-svn-id: https://develop.svn.wordpress.org/trunk@37997 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
01bcc4d40b
commit
eff1d5f58e
@ -78,6 +78,17 @@ class Tests_Comment_Template extends WP_UnitTestCase {
|
||||
return $translation;
|
||||
}
|
||||
|
||||
/**
|
||||
* Data provider for test_get_comments_number_text_declension_with_custom_args().
|
||||
*
|
||||
* @return array {
|
||||
* @type array {
|
||||
* @type int $comments_number The number of comments passed to get_comments_number_text().
|
||||
* @type string $input Custom text for comments number, e.g. '%s Comments'.
|
||||
* @type string $output The expected output with the correct plural form of '%s Comments'.
|
||||
* }
|
||||
* }
|
||||
*/
|
||||
function data_get_comments_number_text_declension() {
|
||||
return array(
|
||||
array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user