Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#6553 closed enhancement (fixed)

xprofile_field factory `create()` should have a default value for 'type'

Reported by: boonebgorges Owned by: boonebgorges
Priority: normal Milestone: 2.4
Component: Build/Test Tools Version:
Severity: normal Keywords:
Cc:

Description

xprofile_insert_field() requires a type argument. During unit tests, this is almost always set to 'textbox', just for the sake of having something set. Let's make this the default value when generating fixtures in unit tests.

Change History (2)

#1 @boonebgorges
11 years ago

  • Owner set to boonebgorges
  • Resolutionfixed
  • Status newclosed

In 10004:

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

Fixes #6553.

#2 @johnjamesjacoby
11 years ago

Good find, Boone!

Note: See TracTickets for help on using tickets.