Changeset 7885 for trunk/tests/testcases/xprofile/functions.php
- Timestamp:
- 02/14/2014 07:21:52 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/testcases/xprofile/functions.php
r7883 r7885 443 443 /** 444 444 * @group xprofilemeta 445 * @group bp_xprofile_update_meta 446 */ 447 public function test_bp_xprofile_update_meta_prev_value() { 448 $g = $this->factory->xprofile_group->create(); 449 bp_xprofile_add_meta( $g, 'group', 'foo', 'bar' ); 450 $this->assertFalse( bp_xprofile_update_meta( $g, 'group', 'foo', 'bar2', 'baz' ) ); 451 $this->assertTrue( bp_xprofile_update_meta( $g, 'group', 'foo', 'bar2', 'bar' ) ); 452 } 453 454 /** 455 * @group xprofilemeta 445 456 * @group bp_xprofile_add_meta 446 457 */
Note: See TracChangeset
for help on using the changeset viewer.