Changeset 10004
- Timestamp:
- 07/10/2015 01:53:54 PM (9 years ago)
- Location:
- trunk/tests/phpunit
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/factory.php
r9819 r10004 210 210 211 211 $this->default_generation_definitions = array( 212 'name' => new WP_UnitTest_Generator_Sequence( 'XProfile field %s' ), 213 'description' => new WP_UnitTest_Generator_Sequence( 'XProfile field description %s' ), 212 'name' => new WP_UnitTest_Generator_Sequence( 'XProfile field %s' ), 213 'description' => new WP_UnitTest_Generator_Sequence( 'XProfile field description %s' ), 214 'type' => 'textbox', 214 215 ); 215 216 } -
trunk/tests/phpunit/testcases/xprofile/activity.php
r9936 r10004 315 315 $this->updated_profile_data['g'] = $this->factory->xprofile_group->create(); 316 316 $this->updated_profile_data['f'] = $this->factory->xprofile_field->create( array( 317 'type' => 'textbox',318 317 'field_group_id' => $this->updated_profile_data['g'], 319 318 ) ); -
trunk/tests/phpunit/testcases/xprofile/cache.php
r9819 r10004 13 13 $g = $this->factory->xprofile_group->create(); 14 14 $f = $this->factory->xprofile_field->create( array( 15 'type' => 'textbox',16 15 'field_group_id' => $g, 17 16 ) ); … … 68 67 $g = $this->factory->xprofile_group->create(); 69 68 $f = $this->factory->xprofile_field->create( array( 70 'type' => 'textbox',71 69 'field_group_id' => $g, 72 70 ) ); … … 122 120 $g = $this->factory->xprofile_group->create(); 123 121 $f = $this->factory->xprofile_field->create( array( 124 'type' => 'textbox',125 122 'field_group_id' => $g, 126 123 ) ); -
trunk/tests/phpunit/testcases/xprofile/class-bp-xprofile-field.php
r9983 r10004 13 13 $field = $this->factory->xprofile_field->create( array( 14 14 'field_group_id' => $group, 15 'type' => 'textbox',16 15 ) ); 17 16 -
trunk/tests/phpunit/testcases/xprofile/class-bp-xprofile-group.php
r10002 r10004 26 26 $g = $this->factory->xprofile_group->create(); 27 27 $f = $this->factory->xprofile_field->create( array( 28 'type' => 'textbox',29 28 'field_group_id' => $g, 30 29 ) ); -
trunk/tests/phpunit/testcases/xprofile/class-bp-xprofile-profiledata.php
r9819 r10004 13 13 $g = $this->factory->xprofile_group->create(); 14 14 $f = $this->factory->xprofile_field->create( array( 15 'type' => 'textbox',16 15 'field_group_id' => $g, 17 16 ) ); … … 29 28 $g = $this->factory->xprofile_group->create(); 30 29 $f = $this->factory->xprofile_field->create( array( 31 'type' => 'textbox',32 30 'field_group_id' => $g, 33 31 ) ); … … 49 47 $g = $this->factory->xprofile_group->create(); 50 48 $f = $this->factory->xprofile_field->create( array( 51 'type' => 'textbox',52 49 'field_group_id' => $g, 53 50 ) ); … … 69 66 $g = $this->factory->xprofile_group->create(); 70 67 $f = $this->factory->xprofile_field->create( array( 71 'type' => 'textbox',72 68 'field_group_id' => $g, 73 69 ) ); … … 86 82 $g = $this->factory->xprofile_group->create(); 87 83 $f = $this->factory->xprofile_field->create( array( 88 'type' => 'textbox',89 84 'field_group_id' => $g, 90 85 ) ); … … 109 104 $g = $this->factory->xprofile_group->create(); 110 105 $f = $this->factory->xprofile_field->create( array( 111 'type' => 'textbox',112 106 'field_group_id' => $g, 113 107 ) ); … … 128 122 $g = $this->factory->xprofile_group->create(); 129 123 $f = $this->factory->xprofile_field->create( array( 130 'type' => 'textbox',131 124 'field_group_id' => $g, 132 125 ) ); … … 154 147 $g = $this->factory->xprofile_group->create(); 155 148 $f = $this->factory->xprofile_field->create( array( 156 'type' => 'textbox',157 149 'field_group_id' => $g, 158 150 ) ); … … 209 201 $g = $this->factory->xprofile_group->create(); 210 202 $f = $this->factory->xprofile_field->create( array( 211 'type' => 'textbox',212 203 'field_group_id' => $g, 213 204 ) ); … … 234 225 $g = $this->factory->xprofile_group->create(); 235 226 $f = $this->factory->xprofile_field->create( array( 236 'type' => 'textbox',237 227 'field_group_id' => $g, 238 228 ) ); -
trunk/tests/phpunit/testcases/xprofile/functions.php
r9819 r10004 64 64 $f = $this->factory->xprofile_field->create( array( 65 65 'field_group_id' => $g, 66 'type' => 'textbox',67 66 ) ); 68 67 … … 103 102 $f = $this->factory->xprofile_field->create( array( 104 103 'field_group_id' => $g, 105 'type' => 'textbox',106 104 ) ); 107 105 … … 122 120 $f = $this->factory->xprofile_field->create( array( 123 121 'field_group_id' => $g, 124 'type' => 'textbox',125 122 ) ); 126 123 … … 140 137 $f = $this->factory->xprofile_field->create( array( 141 138 'field_group_id' => $g, 142 'type' => 'textbox',143 139 ) ); 144 140 … … 534 530 $f = $this->factory->xprofile_field->create( array( 535 531 'field_group_id' => $g, 536 'type' => 'textbox',537 532 'name' => 'Neato', 538 533 ) ); … … 559 554 $f = $this->factory->xprofile_field->create( array( 560 555 'field_group_id' => $g, 561 'type' => 'textbox',562 556 'name' => 'Kewl', 563 557 ) );
Note: See TracChangeset
for help on using the changeset viewer.