Changeset 8131 for trunk/tests/testcases/xprofile/functions.php
- Timestamp:
- 03/14/2014 12:37:28 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/testcases/xprofile/functions.php
r8130 r8131 221 221 $this->assertSame( 'bar', bp_xprofile_get_meta( $g, 'group', 'foo' ) ); 222 222 $this->assertTrue( bp_xprofile_delete_meta( $g, 'group', 'foo', 'bar' ) ); 223 $this->assert Equals( '', bp_xprofile_get_meta( $g, 'group', 'foo' ) );223 $this->assertSame( '', bp_xprofile_get_meta( $g, 'group', 'foo' ) ); 224 224 } 225 225 … … 237 237 $this->assertTrue( bp_xprofile_delete_meta( $g, 'group' ) ); 238 238 239 $this->assert Equals( '', bp_xprofile_get_meta( $g, 'group', 'foo' ) );240 $this->assert Equals( '', bp_xprofile_get_meta( $g, 'group', 'foo2' ) );239 $this->assertSame( '', bp_xprofile_get_meta( $g, 'group', 'foo' ) ); 240 $this->assertSame( '', bp_xprofile_get_meta( $g, 'group', 'foo2' ) ); 241 241 } 242 242 … … 276 276 277 277 $this->assertTrue( bp_xprofile_delete_meta( $g1, 'group', 'foo', '', true ) ); 278 $this->assert Empty( '', bp_xprofile_get_meta( $g1, 'group', 'foo' ) );279 $this->assert Empty( '', bp_xprofile_get_meta( $g2, 'group', 'foo' ) );278 $this->assertSame( '', bp_xprofile_get_meta( $g1, 'group', 'foo' ) ); 279 $this->assertSame( '', bp_xprofile_get_meta( $g2, 'group', 'foo' ) ); 280 280 $this->assertSame( 'bar1', bp_xprofile_get_meta( $g1, 'group', 'foo1' ) ); 281 281 $this->assertSame( 'bar1', bp_xprofile_get_meta( $g2, 'group', 'foo1' ) ); … … 386 386 $krazy_key = ' f!@#$%^o *(){}o?+'; 387 387 bp_xprofile_update_meta( $g, 'group', $krazy_key, 'bar' ); 388 $this->assert Empty(bp_xprofile_get_meta( $g, 'group', 'foo' ) );388 $this->assertSame( '', bp_xprofile_get_meta( $g, 'group', 'foo' ) ); 389 389 } 390 390
Note: See TracChangeset
for help on using the changeset viewer.