| 1 |
<?php |
<?php |
| 2 |
// $Id: hidden.test,v 1.2 2008/12/13 18:42:43 ekes Exp $ |
// $Id: hidden.test,v 1.3 2008/12/18 15:29:07 ekes Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 832 |
|
|
| 833 |
$this->assertText($text_filter['title']); |
$this->assertText($text_filter['title']); |
| 834 |
// not certain of hfid but there is only one |
// not certain of hfid but there is only one |
| 835 |
$enable = '<a href="'. url('admin/content/hidden/filters/enable/') .'\d+">'; |
$enable = '@'. url('admin/content/hidden/filters/enable/') .'\d+@'; |
| 836 |
$disable = '<a href="'. url('admin/content/hidden/filters/disable/') .'\d+">'; |
$disable = '@'. url('admin/content/hidden/filters/disable/') .'\d+@'; |
| 837 |
$edit = '<a href="'. url('admin/content/hidden/filters/edit/'). '\d+">'; |
$edit = '@'. url('admin/content/hidden/filters/edit/'). '\d+@'; |
| 838 |
// check links as enabling and disabling sole filter |
// check links as enabling and disabling sole filter |
| 839 |
$this->assertPattern($disable, t('Disable link visible')); |
$this->assertPattern($disable, t('Disable link visible')); |
| 840 |
$this->assertPattern($edit, t('Edit link visible')); |
$this->assertPattern($edit, t('Edit link visible')); |