Changeset 8129 for trunk/tests/testcases/groups/functions.php
- Timestamp:
- 03/14/2014 12:07:18 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/testcases/groups/functions.php
r8056 r8129 357 357 /** 358 358 * @group groupmeta 359 * 360 * @t odo Why do we do this?359 * @group groups_get_groupmeta 360 * @ticket BP5399 361 361 */ 362 362 public function test_groups_get_groupmeta_with_illegal_key_characters() { … … 365 365 366 366 $krazy_key = ' f!@#$%^o *(){}o?+'; 367 $this->assert Same( groups_get_groupmeta( $g, 'foo' ),groups_get_groupmeta( $g, $krazy_key ) );367 $this->assertEmpty( groups_get_groupmeta( $g, $krazy_key ) ); 368 368 } 369 369 … … 463 463 /** 464 464 * @group groupmeta 465 * @group groups_delete_groupmeta 466 * @ticket BP5399 465 467 */ 466 468 public function test_groups_delete_groupmeta_with_illegal_key_characters() { … … 469 471 470 472 $krazy_key = ' f!@#$%^o *(){}o?+'; 471 $this->assertTrue( groups_delete_groupmeta( $g, $krazy_key ) ); 472 $this->assertSame( '', groups_get_groupmeta( $g, 'foo' ) ); 473 $this->assertSame( 'bar', groups_get_groupmeta( $g, 'foo' ) ); 473 474 } 474 475
Note: See TracChangeset
for help on using the changeset viewer.