Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

PHPUnit fixtures with many many extrafields


Go to End


2 Posts   1390 Views

Avatar
fj

Community Member, 7 Posts

12 February 2011 at 12:46am

Hi there,
how can I add many many extrafield data to a yaml fixture file for PHPUnit testing?
I know I can add the many many relationsship itself using "=>class.instance1", but
how can I add extrafield information to that relationship?
thanks, roman

Avatar
swaiba

Forum Moderator, 1899 Posts

12 February 2011 at 1:08am