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?