Changeset 8178 for trunk/tests/testcases/xprofile/functions.php
- Timestamp:
- 03/27/2014 07:34:02 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/testcases/xprofile/functions.php
r8133 r8178 553 553 $this->assertSame( 'foo', $found ); 554 554 } 555 556 /** 557 * @group xprofile_set_field_data 558 */ 559 public function test_get_field_data_integer_zero() { 560 $u = $this->create_user(); 561 $g = $this->factory->xprofile_group->create(); 562 $f = $this->factory->xprofile_field->create( array( 563 'field_group_id' => $g, 564 'type' => 'number', 565 'name' => 'Pens', 566 ) ); 567 xprofile_set_field_data( $f, $u, 0 ); 568 569 $this->assertEquals( 0, xprofile_get_field_data( 'Pens', $u ) ); 570 } 555 571 }
Note: See TracChangeset
for help on using the changeset viewer.