mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-28 21:10:16 +00:00
Docs: Use third-person singular verbs in some test descriptions in phpunit/tests/functions/.
Follow-up to [42971], [45371], [46159], [46175], [47779], [50962], [50964], [51910], [52778]. Props azouamauriac, SergeyBiryukov. See #54725. git-svn-id: https://develop.svn.wordpress.org/trunk@52780 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
class Tests_Functions_CleanDirsizeCache extends WP_UnitTestCase {
|
||||
|
||||
/**
|
||||
* Test the handling of invalid data passed as the $path parameter.
|
||||
* Tests the handling of invalid data passed as the $path parameter.
|
||||
*
|
||||
* @ticket 52241
|
||||
*
|
||||
@@ -53,7 +53,7 @@ class Tests_Functions_CleanDirsizeCache extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the handling of a non-path text string passed as the $path parameter.
|
||||
* Tests the handling of a non-path text string passed as the $path parameter.
|
||||
*
|
||||
* @ticket 52241
|
||||
*
|
||||
@@ -105,7 +105,7 @@ class Tests_Functions_CleanDirsizeCache extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the behaviour of the function when the transient doesn't exist.
|
||||
* Tests the behaviour of the function when the transient doesn't exist.
|
||||
*
|
||||
* @ticket 52241
|
||||
* @ticket 53635
|
||||
@@ -121,7 +121,7 @@ class Tests_Functions_CleanDirsizeCache extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the behaviour of the function when the transient does exist, but is not an array.
|
||||
* Tests the behaviour of the function when the transient does exist, but is not an array.
|
||||
*
|
||||
* In particular, this tests that no PHP TypeErrors are being thrown.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user