23493 Posts in 18996 Topics by 2878 members
|Go to End|
16 April 2011 at 8:55am Last edited: 17 April 2011 1:27am
I am new to Silverstripe and have a small problem that I hope someone here can help me with.
I am trying to create a unit test for a new module I am developing, and the thing is, all of the tests pass with no problem at all, I can see this by echoing results in the test, but for some reason my test is failing with this weird error:
⊗ Job Object Test::test Augment Manipulates Correctly
Argument 1 passed to Email::set_mailer() must be an instance of Mailer, null given, called in /mnt/hgfs/workspace/projectname/sapphire/dev/SapphireTest.php on line 367 and defined
Does anyone have any ideas on where I might first look to diagnose this problem?
|Go to Top|