| 1 |
<?php |
<?php |
| 2 |
// $Id: content.crud.test,v 1.4.2.7 2008/07/10 12:49:09 yched Exp $ |
// $Id: content.crud.test,v 1.4.2.8 2008/07/12 19:06:17 yched Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* Base class for CCK CRUD tests. |
* Base class for CCK CRUD tests. |
| 16 |
* Enable CCK, Text, and Schema modules. |
* Enable CCK, Text, and Schema modules. |
| 17 |
*/ |
*/ |
| 18 |
function setUp() { |
function setUp() { |
| 19 |
parent::setUp('content', 'schema', 'text'); |
$args = func_get_args(); |
| 20 |
|
$modules = array_merge(array('content', 'schema', 'text'), $args); |
| 21 |
|
call_user_func_array(array('parent','setUp'), $modules); |
| 22 |
module_load_include('inc', 'content', 'includes/content.crud'); |
module_load_include('inc', 'content', 'includes/content.crud'); |
| 23 |
} |
} |
| 24 |
|
|
| 759 |
} |
} |
| 760 |
|
|
| 761 |
function setUp() { |
function setUp() { |
| 762 |
parent::setUp(); |
parent::setUp('optionwidgets'); |
|
$this->drupalModuleEnable('optionwidgets'); |
|
| 763 |
$this->loginWithPermissions(); |
$this->loginWithPermissions(); |
| 764 |
$this->acquireContentTypes(1); |
$this->acquireContentTypes(1); |
| 765 |
} |
} |