Révision c304a780
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/ctools/page_manager/tests/head_links.test | ||
---|---|---|
1 | 1 |
<?php |
2 |
|
|
2 | 3 |
/** |
3 | 4 |
* @file |
4 | 5 |
* Tests the head links for page manager pages. |
... | ... | |
8 | 9 |
* Test the head links. |
9 | 10 |
*/ |
10 | 11 |
class HeadLinksTestCase extends DrupalWebTestCase { |
12 |
|
|
11 | 13 |
/** |
12 | 14 |
* {@inheritdoc} |
13 | 15 |
*/ |
... | ... | |
71 | 73 |
$canonical = $this->xpath('//head//link[@rel="canonical"]'); |
72 | 74 |
$this->assertEqual(url($url), (string) $canonical[0]['href'], 'canonical url found'); |
73 | 75 |
} |
76 |
|
|
74 | 77 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules