\CacheableSiteTreeTest
Synopsis
class CacheableSiteTreeTest
extends SapphireTest
{
- // members
- protected static string $fixture_file = 'fixtures/CacheableSiteTreeTest.yml';
- // methods
- public void setUp()
- public void testRemoveChild()
- public void testGetChildren()
Hierarchy
Extends
- SapphireTest
Members
protected
- $fixture_file — string
Methods
public
- setUp() — Cleanup after ourselves
- testGetChildren() — Ensure with and without filters, we get expected output
- testRemoveChild() — Issue #24 described a scenario where updated SiteTree objects would become appended to the cached list and not updated in-place as expected.