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.

Data Model Questions /

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

Unit test fail on a fresh installation

Go to End



Community Member, 279 Posts

27 April 2011 at 10:45pm

I wrote the first Unittest for SilverCart some days ago. Thanks to SilverStripe´s doku the start was quiet easy. After some tome I realized that some tests of the CMS fail, eg "CMSMainTest". First I thought that the modules I installed would interfere with those tests. But when I made a fresh installation the tests still fail. One example:
⊗ Test Get Record
Failed asserting that <null> is an instance of class "Page".
Is this a known bug?