Changeset 8132 for trunk/tests/testcases/groups/functions.php
- Timestamp:
- 03/14/2014 12:50:26 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/testcases/groups/functions.php
r8131 r8132 309 309 $g = $this->factory->group->create(); 310 310 $this->assertSame( '', groups_get_groupmeta( $g, 'foo' ), '"foo" meta should be empty for this group.' ); 311 $this->assert True( groups_update_groupmeta( $g, 'foo', 'bar' ) );311 $this->assertNotEmpty( groups_update_groupmeta( $g, 'foo', 'bar' ) ); 312 312 $this->assertSame( 'bar', groups_get_groupmeta( $g, 'foo' ) ); 313 313 } … … 468 468 public function test_groups_delete_groupmeta_with_illegal_key_characters() { 469 469 $g = $this->factory->group->create(); 470 $this->assert True( groups_update_groupmeta( $g, 'foo', 'bar' ), 'Value of "foo" should be set at this point.' );470 $this->assertNotEmpty( groups_update_groupmeta( $g, 'foo', 'bar' ), 'Value of "foo" should be set at this point.' ); 471 471 472 472 $krazy_key = ' f!@#$%^o *(){}o?+';
Note: See TracChangeset
for help on using the changeset viewer.