Commit 4e9ce593 authored by hass's avatar hass
Browse files

Fix broken test

parent 1ba026e3
......@@ -82,7 +82,7 @@ class RealnameBasicTest extends DrupalWebTestCase {
// Check token recursion protection.
$edit['realname_pattern'] = '[user:name]';
$this->drupalPost('admin/config/people/realname', $edit, t('Save configuration'));
$this->assertRaw(t('The <em>[user:name]</em> token cannot be used as it will cause recursion.'), '[testRealnameConfiguration]: Invalid token found.');
$this->assertRaw(t('The %token token cannot be used as it will cause recursion.', array('%token' => '[user:name]')), '[testRealnameConfiguration]: Invalid token found.');
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment