comparison core/modules/user/src/Tests/UserResetEmailTestTrait.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
1 <?php 1 <?php
2 2
3 namespace Drupal\user\Tests; 3 namespace Drupal\user\Tests;
4
5 @trigger_error(__NAMESPACE__ . '\UserResetEmailTestTrait is deprecated and scheduled for removal before Drupal 9.0.0. Add the method to the test class instead, see https://www.drupal.org/node/2999766', E_USER_DEPRECATED);
4 6
5 use Drupal\Core\Test\AssertMailTrait; 7 use Drupal\Core\Test\AssertMailTrait;
6 8
7 /** 9 /**
8 * Helper function for logging in from reset password email. 10 * Helper function for logging in from reset password email.
11 *
12 * @deprecated Scheduled for removal before Drupal 9.0.0.
13 * Add the method to the test class instead.
14 *
15 * @see https://www.drupal.org/node/2999766
9 */ 16 */
10 trait UserResetEmailTestTrait { 17 trait UserResetEmailTestTrait {
11 18
12 use AssertMailTrait { 19 use AssertMailTrait {
13 getMails as drupalGetMails; 20 getMails as drupalGetMails;