mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
Docs: Docblocks consistency fixes after [52604].
Follow-up to [52604]. Fixes #54690. git-svn-id: https://develop.svn.wordpress.org/trunk@52605 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -9,8 +9,9 @@
|
||||
/**
|
||||
* Test retrieve_password(), in wp-includes/user.php.
|
||||
*
|
||||
* @group user
|
||||
* @since 6.0.0
|
||||
*
|
||||
* @group user
|
||||
* @covers ::retrieve_password
|
||||
*/
|
||||
class Tests_User_RetrievePassword extends WP_UnitTestCase {
|
||||
@@ -23,6 +24,11 @@ class Tests_User_RetrievePassword extends WP_UnitTestCase {
|
||||
*/
|
||||
protected $user;
|
||||
|
||||
/**
|
||||
* Create users for tests.
|
||||
*
|
||||
* @since 6.0.0
|
||||
*/
|
||||
public function set_up() {
|
||||
parent::set_up();
|
||||
|
||||
@@ -36,6 +42,7 @@ class Tests_User_RetrievePassword extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* The function should error when the email was not sent.
|
||||
* @ticket 54690
|
||||
*/
|
||||
public function test_retrieve_password_reset_notification_email() {
|
||||
@@ -44,6 +51,7 @@ class Tests_User_RetrievePassword extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* The function should error when the email was not sent.
|
||||
* @ticket 54690
|
||||
*/
|
||||
public function test_retrieve_password_should_return_wp_error_on_failed_email() {
|
||||
|
||||
Reference in New Issue
Block a user