/[drupal]/drupal/modules/field_ui/field_ui.test
ViewVC logotype

Diff of /drupal/modules/field_ui/field_ui.test

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2, Mon Nov 2 15:59:28 2009 UTC revision 1.3, Sun Nov 8 09:24:55 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: field_ui.test,v 1.1 2009/11/02 03:41:58 webchick Exp $  // $Id: field_ui.test,v 1.2 2009/11/02 15:59:28 webchick Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 13  class FieldUITestCase extends DrupalWebT Line 13  class FieldUITestCase extends DrupalWebT
13      public static function getInfo() {      public static function getInfo() {
14      return array(      return array(
15        'name' => 'Field UI tests',        'name' => 'Field UI tests',
16        'description' => 'Test the filed UI functionality.',        'description' => 'Test the field UI functionality.',
17        'group' => 'Field UI',        'group' => 'Field UI',
18      );      );
19    }    }
# Line 87  class FieldUITestCase extends DrupalWebT Line 87  class FieldUITestCase extends DrupalWebT
87      $edit['_add_new_field[widget_type]'] = 'test_field_widget';      $edit['_add_new_field[widget_type]'] = 'test_field_widget';
88      $this->drupalPost('admin/structure/types/manage/' . $this->hyphen_type . '/fields',  $edit, t('Save'));      $this->drupalPost('admin/structure/types/manage/' . $this->hyphen_type . '/fields',  $edit, t('Save'));
89    
90      $this->assertText(t('@label field settings', array('@label' => $this->field_label)), t('Field settings page was displayed.'));      $this->assertRaw(t('These settings apply to the %label field everywhere it is used.', array('%label' => $this->field_label)), t('Field settings page was displayed.'));
91    
92      $this->drupalPost(NULL, array(), t('Save field settings'));      $this->drupalPost(NULL, array(), t('Save field settings'));
93    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.2