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.

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   951 Views


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


Forum Moderator, 1849 Posts

12 February 2011 at 1:08am