added some modules, updated some others
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user