I would like to run unit test via phpunit as described here:
Running Test with phpunit and sake seems to behave differently.
Some test pass in sake but don't in phpunit.
For example phpunit sapphire/tests/SiteTreeBacklinksTest.php
results in ...FFF and a
Fatal error: Call to a member function obj() on a non-object in .../sapphire/tests/SiteTreeBacklinksTest.php on line 227
results in .......
ALL TEST PASS
This behavior occures with multiple files. They pass in sake but fail in phpunit.
I'm running SS 2.4.5 and
Any ideas how I could get the tests to pass with PHPUnit.