SilverStripe\Versioned\Tests\PublishRecursive\PublishRecursiveTest
Synopsis
class PublishRecursiveTest
extends SapphireTest
{
- // members
- protected bool $usesDatabase = true;
- protected static array $extra_dataobjects = ;
- protected static array $required_extensions = ;
- // methods
- public void testPublishRecursiveVersionTiming()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Members
protected
- $extra_dataobjects — array
- $required_extensions — array
- $usesDatabase — SilverStripe\Versioned\Tests\PublishRecursive\bool
Methods
public
- testPublishRecursiveVersionTiming() — This test validates consistent timestamps of versions created by publish recursive in an object hierarchy We expect that the top level object and all nested objects will end up with the same timestamp of their latest version