projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
web
/
modules
/
contrib
/
metatag
/
src
/
Tests
/
MetatagFieldUserTest.php
diff --git
a/web/modules/contrib/metatag/src/Tests/MetatagFieldUserTest.php
b/web/modules/contrib/metatag/src/Tests/MetatagFieldUserTest.php
index 165a1e4137bea1510659b67a950dda77cf51ccab..723401414606279371eb5dd2cdbe41ea299ecdb3 100644
(file)
--- a/
web/modules/contrib/metatag/src/Tests/MetatagFieldUserTest.php
+++ b/
web/modules/contrib/metatag/src/Tests/MetatagFieldUserTest.php
@@
-2,9
+2,6
@@
namespace Drupal\metatag\Tests;
namespace Drupal\metatag\Tests;
-use Drupal\Core\Cache\Cache;
-use Drupal\metatag\Tests\MetatagFieldTestBase;
-
/**
* Ensures that the Metatag field works correctly on users.
*
/**
* Ensures that the Metatag field works correctly on users.
*
@@
-13,7
+10,7
@@
use Drupal\metatag\Tests\MetatagFieldTestBase;
class MetatagFieldUserTest extends MetatagFieldTestBase {
/**
class MetatagFieldUserTest extends MetatagFieldTestBase {
/**
- * {@inherit
D
oc}
+ * {@inherit
d
oc}
*/
public static $modules = [
// Needed for token handling.
*/
public static $modules = [
// Needed for token handling.
@@
-36,9
+33,9
@@
class MetatagFieldUserTest extends MetatagFieldTestBase {
];
/**
];
/**
- * {@inherit
D
oc}
+ * {@inherit
d
oc}
*/
*/
- protected $entity
_p
erms = [
+ protected $entity
P
erms = [
// From Field UI.
'administer user fields',
// From Field UI.
'administer user fields',
@@
-48,44
+45,44
@@
class MetatagFieldUserTest extends MetatagFieldTestBase {
];
/**
];
/**
- * {@inherit
D
oc}
+ * {@inherit
d
oc}
*/
*/
- protected $entity
_t
ype = 'user';
+ protected $entity
T
ype = 'user';
/**
/**
- * {@inherit
D
oc}
+ * {@inherit
d
oc}
*/
*/
- protected $entity
_l
abel = 'User';
+ protected $entity
L
abel = 'User';
/**
/**
- * {@inherit
D
oc}
+ * {@inherit
d
oc}
*/
*/
- protected $entity
_b
undle = 'user';
+ protected $entity
B
undle = 'user';
/**
/**
- * {@inherit
D
oc}
+ * {@inherit
d
oc}
*/
*/
- protected $entity
_add_p
ath = 'admin/people/create';
+ protected $entity
AddP
ath = 'admin/people/create';
/**
/**
- * {@inherit
D
oc}
+ * {@inherit
d
oc}
*/
*/
- protected $entity
_field_admin_p
ath = 'admin/config/people/accounts/fields';
+ protected $entity
FieldAdminP
ath = 'admin/config/people/accounts/fields';
/**
/**
- * {@inherit
D
oc}
+ * {@inherit
d
oc}
*/
*/
- protected $entity
_title_f
ield = 'name';
+ protected $entity
TitleF
ield = 'name';
/**
/**
- * {@inherit
D
oc}
+ * {@inherit
d
oc}
*/
*/
- protected $entity
_save_button_l
abel = 'Create new account';
+ protected $entity
SaveButtonL
abel = 'Create new account';
/**
/**
- * {@inherit
D
oc}
+ * {@inherit
d
oc}
*/
*/
- protected function entity
_default_v
alues($title = 'Barfoo') {
+ protected function entity
DefaultV
alues($title = 'Barfoo') {
$password = $this->randomString(16);
return [
'mail' => 'test' . $this->adminUser->getEmail(),
$password = $this->randomString(16);
return [
'mail' => 'test' . $this->adminUser->getEmail(),
@@
-100,13
+97,13
@@
class MetatagFieldUserTest extends MetatagFieldTestBase {
*
* @todo
*/
*
* @todo
*/
-
// protected
function testFieldsOnUserRegistrationForm() {}
+
public
function testFieldsOnUserRegistrationForm() {}
/**
* Confirm the metatag field can be shown on a normal user's own edit form.
*
* @todo
*/
/**
* Confirm the metatag field can be shown on a normal user's own edit form.
*
* @todo
*/
-
// protected
function testFieldsOnUserEditForm() {}
+
public
function testFieldsOnUserEditForm() {}
}
}