Changeset 8130 for trunk/tests/testcases/xprofile/functions.php
- Timestamp:
- 03/14/2014 12:15:41 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/testcases/xprofile/functions.php
r8129 r8130 201 201 * @group xprofilemeta 202 202 * @group bp_xprofile_delete_meta 203 * @ticket BP5399 203 204 */ 204 205 public function test_bp_xprofile_delete_meta_trim_meta_value() { … … 207 208 $this->assertSame( 'bar', bp_xprofile_get_meta( $g, 'group', 'foo' ) ); 208 209 209 $this->assertTrue( bp_xprofile_delete_meta( $g, 'group', 'foo', ' bar ' ));210 $this->assert Equals( '', bp_xprofile_get_meta( $g, 'group', 'foo' ) );210 bp_xprofile_delete_meta( $g, 'group', 'foo', ' bar ' ); 211 $this->assertSame( 'bar', bp_xprofile_get_meta( $g, 'group', 'foo' ) ); 211 212 } 212 213
Note: See TracChangeset
for help on using the changeset viewer.