Revision 4003efde
Added by Assos Assos over 4 years ago
drupal7/sites/all/modules/views/tests/views_upgrade.test | ||
---|---|---|
26 | 26 |
/** |
27 | 27 |
* {@inheritdoc} |
28 | 28 |
*/ |
29 |
protected function setUp() { |
|
29 |
public function setUp(array $modules = array()) { |
|
30 |
parent::setUp($modules); |
|
31 |
|
|
30 | 32 |
// To import a view the user needs use PHP for settings rights, so enable |
31 | 33 |
// PHP module. |
32 |
parent::setUp(); |
|
33 |
|
|
34 | 34 |
module_enable(array('php')); |
35 | 35 |
$this->resetAll(); |
36 | 36 |
} |
Also available in: Unified diff
Weekly update of contrib modules