silverstripe-autotoc 

silverstripe-autotoc Commit Details

Date:2017-12-29 19:53:16 (3 years 20 days ago)
Author:Nicola Fontana
Branch:dev, master
Commit:c866cde26462ee7b679185f709e1f1659baa46bb
Parents: 72bee4a1f54e3fb52f8cfc2b32f360267fa70038
Message:Remove unused internal methods from tests

Changes:
Mtests/AutotocTest.php (1 diff)

File differences

tests/AutotocTest.php
1818
1919
2020
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
3621
3722
3823
TestObject::add_extension('eNTiDi\Autotoc\Autotoc');
}
private function emptyTestObject()
{
$obj = new TestObject;
$obj->Content = '';
$obj->Test2 = '';
return $obj;
}
private function populatedTestObject()
{
$obj = new TestObject;
$obj->Content = file_get_contents(__DIR__.'/test1');
$obj->Test2 = file_get_contents(__DIR__.'/test2');
return $obj;
}
public function testBodyAutotoc()
{
$obj = new TestObject;

Archive Download the corresponding diff file