Jump to:

22977 Posts in 11742 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » Fixtures and LastEdited

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

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

Page: 1
Go to End
Author Topic: 210 Views
  • Aatch
    Avatar
    Community Member
    1 Post

    Fixtures and LastEdited Link to this post

    I am trying to run some Unit Tests, and I am using the LastEdited date to infer some information, However setting it in the fixture file doesn't seem to do anything, it just sets it to the current time, my initial guess is that it adds the LastEdited field in, then promptly overwrites it because the object has been edited.

    I was wondering if there is a way around this behaviour, or will I have to dig into the sapphire code?

    Thanks

    210 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.