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.

Data Model Questions /

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

Unit test fail on a fresh installation


Go to End


887 Views

Avatar
baba-papa

Community Member, 279 Posts

27 April 2011 at 10:45pm

Hi,
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?