Changeset 8131 for trunk/tests/testcases/groups/functions.php
- Timestamp:
- 03/14/2014 12:37:28 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/testcases/groups/functions.php
r8129 r8131 308 308 public function test_groups_update_groupmeta_new() { 309 309 $g = $this->factory->group->create(); 310 $this->assert Equals( '', groups_get_groupmeta( $g, 'foo' ), '"foo" meta should be empty for this group.' );310 $this->assertSame( '', groups_get_groupmeta( $g, 'foo' ), '"foo" meta should be empty for this group.' ); 311 311 $this->assertTrue( groups_update_groupmeta( $g, 'foo', 'bar' ) ); 312 312 $this->assertSame( 'bar', groups_get_groupmeta( $g, 'foo' ) ); … … 365 365 366 366 $krazy_key = ' f!@#$%^o *(){}o?+'; 367 $this->assert Empty(groups_get_groupmeta( $g, $krazy_key ) );367 $this->assertSame( '', groups_get_groupmeta( $g, $krazy_key ) ); 368 368 } 369 369 … … 509 509 510 510 $this->assertTrue( groups_delete_groupmeta( $g1, 'foo', '', true ) ); 511 $this->assert Empty( '', groups_get_groupmeta( $g1, 'foo' ) );512 $this->assert Empty( '', groups_get_groupmeta( $g2, 'foo' ) );511 $this->assertSame( '', groups_get_groupmeta( $g1, 'foo' ) ); 512 $this->assertSame( '', groups_get_groupmeta( $g2, 'foo' ) ); 513 513 $this->assertSame( 'bar1', groups_get_groupmeta( $g1, 'foo1' ) ); 514 514 $this->assertSame( 'bar1', groups_get_groupmeta( $g2, 'foo1' ) );
Note: See TracChangeset
for help on using the changeset viewer.