DNADesign\Elemental\TopPage\TestState
Synopsis
class TestState
implements
TestState
{
- // methods
- public void setUp()
- public void tearDown()
- public void setUpOnce()
- public void tearDownOnce()
- private void disableTopPageUpdate()
Hierarchy
Implements
- SilverStripe\Dev\State\TestState
Methods
private
- disableTopPageUpdate() — We need to disable top page updates as it doesn't work with fixture builder and transactions in unit tests caused by an attempt to traverse unsaved relations which is normally fine the lookup failure causes the whole transaction to fail which is the whole unit test this has no impact on the functionality, though