| 123456789101112131415161718192021222324252627 |
- <?php
- // see: fieldapi/text/text.test
- class IframeFieldTestCase extends DrupalWebTestCase {
- protected $instance;
- protected $admin_user;
- protected $web_user;
- public static function getInfo() {
- return array(
- 'name' => 'Iframe field',
- 'description' => "Test the creation of iframe fields.",
- 'group' => 'Field types'
- );
- }
- function setUp() {
- parent::setUp('field_test');
- $this->admin_user = $this->drupalCreateUser(array('administer filters'));
- $this->web_user = $this->drupalCreateUser(array('access field_test content', 'administer field_test content'));
- $this->drupalLogin($this->web_user);
- }
- // Test fields.
- }
|