Changeset 7469 for trunk/tests/testcases/xprofile/functions.php
- Timestamp:
- 10/23/2013 06:47:16 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/testcases/xprofile/functions.php
r7365 r7469 63 63 $this->set_current_user( $old_current_user ); 64 64 } 65 66 /** 67 * @group bp_xprofile_update_meta 68 * @ticket BP5180 69 */ 70 public function test_bp_xprofile_update_meta_with_line_breaks() { 71 $g = $this->factory->xprofile_group->create(); 72 $f = $this->factory->xprofile_field->create( array( 73 'field_group_id' => $g->id, 74 'type' => 'textbox', 75 ) ); 76 77 $meta_value = 'Foo! 78 79 Bar!'; 80 bp_xprofile_update_meta( $f->id, 'field', 'linebreak_field', $meta_value ); 81 $this->assertEquals( $meta_value, bp_xprofile_get_meta( $f->id, 'field', 'linebreak_field' ) ); 82 } 65 83 }
Note: See TracChangeset
for help on using the changeset viewer.