Changeset 11288 for trunk/tests/phpunit/testcases/xprofile/functions.php
- Timestamp:
- 12/11/2016 10:23:00 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/xprofile/functions.php
r11287 r11288 1049 1049 public function test_field_comma_seperated_values_are_autolinked() { 1050 1050 $field_group_id = $this->factory->xprofile_group->create(); 1051 $field_id = $this->factory->xprofile_field->create( array( 'field_group_id' => $ this->field_group_id ) );1052 $GLOBALS['field'] = new BP_XProfile_Field( $ this->field_id );1051 $field_id = $this->factory->xprofile_field->create( array( 'field_group_id' => $field_group_id ) ); 1052 $GLOBALS['field'] = new BP_XProfile_Field( $field_id ); 1053 1053 $GLOBALS['field']->do_autolink = true; 1054 1054 … … 1065 1065 public function test_field_semicolon_seperated_values_are_autolinked() { 1066 1066 $field_group_id = $this->factory->xprofile_group->create(); 1067 $field_id = $this->factory->xprofile_field->create( array( 'field_group_id' => $ this->field_group_id ) );1068 $GLOBALS['field'] = new BP_XProfile_Field( $ this->field_id );1067 $field_id = $this->factory->xprofile_field->create( array( 'field_group_id' => $field_group_id ) ); 1068 $GLOBALS['field'] = new BP_XProfile_Field( $field_id ); 1069 1069 $GLOBALS['field']->do_autolink = true; 1070 1070
Note: See TracChangeset
for help on using the changeset viewer.