added some modules, updated some others

This commit is contained in:
2021-11-25 16:58:25 +01:00
parent 62fc3df712
commit 072ea7de50
28 changed files with 2459 additions and 49 deletions
@@ -137,6 +137,7 @@ class TokenUnitTestCase extends TokenTestHelper {
'[node:created:short]',
'[node:created:custom:invalid]',
'[node:created:custom:mm-YYYY]',
'[node:colons:in:name]',
'[site:name]',
'[site:slogan]',
'[current-date:short]',
@@ -147,6 +148,7 @@ class TokenUnitTestCase extends TokenTestHelper {
'[node:title:invalid]',
'[node:created:invalid]',
'[node:created:short:invalid]',
'[node:colons:in:name:invalid]',
'[invalid:title]',
'[site:invalid]',
'[user:ip-address]',
@@ -166,6 +168,7 @@ class TokenUnitTestCase extends TokenTestHelper {
'[node:created:short]',
'[node:created:custom:invalid]',
'[node:created:custom:mm-YYYY]',
'[node:colons:in:name]',
'[site:name]',
'[site:slogan]',
'[user:uid]',
@@ -176,6 +179,7 @@ class TokenUnitTestCase extends TokenTestHelper {
'[node:title:invalid]',
'[node:created:invalid]',
'[node:created:short:invalid]',
'[node:colons:in:name:invalid]',
'[invalid:title]',
'[site:invalid]',
'[user:ip-address]',
@@ -952,6 +956,7 @@ class TokenArrayTestCase extends TokenTestHelper {
'last' => 'b',
'value:0' => 'a',
'value:2' => 'c',
'value:#property' => NULL,
'count' => 4,
'keys' => '2, 0, 4, 1',
'keys:value:3' => '1',
@@ -1076,7 +1081,7 @@ class TokenBlockTestCase extends TokenTestHelper {
$edit['body[value]'] = 'This is the test token title block.';
$this->drupalPost('admin/structure/block/add', $edit, 'Save block');
// Ensure token validation is working on the block.
$this->assertText('The Block title is using the following invalid tokens: [user:name].');
$this->assertText('Block title is using the following invalid tokens: [user:name].');
// Create the block for real now with a valid title.
$edit['title'] = '[current-page:title] block title';