Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/10/2015 01:53:54 PM (10 years ago)
Author:
boonebgorges
Message:

When generating fixtures during automated tests, use the default 'type' of 'textbox' for xprofile fields.

Fixes #6553.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/xprofile/functions.php

    r9819 r10004  
    6464        $f = $this->factory->xprofile_field->create( array(
    6565            'field_group_id' => $g,
    66             'type' => 'textbox',
    6766        ) );
    6867
     
    103102        $f = $this->factory->xprofile_field->create( array(
    104103            'field_group_id' => $g,
    105             'type' => 'textbox',
    106104        ) );
    107105
     
    122120        $f = $this->factory->xprofile_field->create( array(
    123121            'field_group_id' => $g,
    124             'type' => 'textbox',
    125122        ) );
    126123
     
    140137        $f = $this->factory->xprofile_field->create( array(
    141138            'field_group_id' => $g,
    142             'type' => 'textbox',
    143139        ) );
    144140
     
    534530        $f = $this->factory->xprofile_field->create( array(
    535531            'field_group_id' => $g,
    536             'type' => 'textbox',
    537532            'name' => 'Neato',
    538533        ) );
     
    559554        $f = $this->factory->xprofile_field->create( array(
    560555            'field_group_id' => $g,
    561             'type' => 'textbox',
    562556            'name' => 'Kewl',
    563557        ) );
Note: See TracChangeset for help on using the changeset viewer.