Révision 3dfa8105
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/sites/all/modules/ds/tests/ds.entities.test | ||
---|---|---|
114 | 114 |
$this->assertRaw('group-footer', 'Template found (region footer)'); |
115 | 115 |
$this->assertRaw('group-left', 'Template found (region left)'); |
116 | 116 |
$this->assertRaw('group-right', 'Template found (region right)'); |
117 |
$this->assertPattern('/<div[^>]*>Submitted[^<]*<a[^>]+href="\/user\/' . $node_author->uid . '"[^>]*>' . check_plain($node_author->name) . '<\/a>.<\/div>/', t('Submitted by line found'));
|
|
117 |
$this->assertPattern('/<div[^>]*>Submitted[^<]*<a[^>]+href="' . preg_quote(base_path(), '/') . 'user\/' . $node_author->uid . '"[^>]*>' . check_plain($node_author->name) . '<\/a>.<\/div>/', t('Submitted by line found'));
|
|
118 | 118 |
|
119 | 119 |
// Configure teaser layout. |
120 | 120 |
$teaser = array( |
Formats disponibles : Unified diff
Weekly update of contrib modules