- Timestamp:
- 02/14/2014 12:17:53 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/testcases/xprofile/class-bp-xprofile-field.php
r7419 r7873 16 16 $group = $this->factory->xprofile_group->create(); 17 17 $field = $this->factory->xprofile_field->create( array( 18 'field_group_id' => $group ->id,18 'field_group_id' => $group, 19 19 'type' => 'textbox', 20 20 ) ); 21 21 22 $f = new BP_XProfile_Field( $field ->id);22 $f = new BP_XProfile_Field( $field ); 23 23 $f->can_delete = 0; 24 24 $f->save(); 25 25 26 $f2 = new BP_XProfile_Field( $field ->id);26 $f2 = new BP_XProfile_Field( $field ); 27 27 $this->assertEquals( '0', $f2->can_delete ); 28 28 }
Note: See TracChangeset
for help on using the changeset viewer.