iframe.test 675 B

123456789101112131415161718192021222324252627
  1. <?php
  2. // see: fieldapi/text/text.test
  3. class IframeFieldTestCase extends DrupalWebTestCase {
  4. protected $instance;
  5. protected $admin_user;
  6. protected $web_user;
  7. public static function getInfo() {
  8. return array(
  9. 'name' => 'Iframe field',
  10. 'description' => "Test the creation of iframe fields.",
  11. 'group' => 'Field types'
  12. );
  13. }
  14. function setUp() {
  15. parent::setUp('field_test');
  16. $this->admin_user = $this->drupalCreateUser(array('administer filters'));
  17. $this->web_user = $this->drupalCreateUser(array('access field_test content', 'administer field_test content'));
  18. $this->drupalLogin($this->web_user);
  19. }
  20. // Test fields.
  21. }