@@ -13,10 +13,10 @@ discard block |
||
| 13 | 13 | /** |
| 14 | 14 | * Test Max Links per page |
| 15 | 15 | */ |
| 16 | - public function testMaxLinksPerPage(){ |
|
| 17 | - $this->objFromFixture('AutomatedLink','link'); |
|
| 18 | - $this->objFromFixture('AutomatedLink','link2'); |
|
| 19 | - $this->objFromFixture('AutomatedLink','link3'); |
|
| 16 | + public function testMaxLinksPerPage() { |
|
| 17 | + $this->objFromFixture('AutomatedLink', 'link'); |
|
| 18 | + $this->objFromFixture('AutomatedLink', 'link2'); |
|
| 19 | + $this->objFromFixture('AutomatedLink', 'link3'); |
|
| 20 | 20 | |
| 21 | 21 | $settings = GlobalAutoLinkSettings::get()->first(); |
| 22 | 22 | $settings->MaxLinksPerPage = 1; |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | /** |
| 31 | 31 | * Test that links are not created inside of exclude tags |
| 32 | 32 | */ |
| 33 | - public function testExcludeTags(){ |
|
| 33 | + public function testExcludeTags() { |
|
| 34 | 34 | $settings = GlobalAutoLinkSettings::get()->first(); |
| 35 | 35 | $settings->MaxLinksPerPage = 0; |
| 36 | 36 | $settings->write(); |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | /** |
| 46 | 46 | * Test that links are included in all the specified fields |
| 47 | 47 | */ |
| 48 | - public function testIncludeIn(){ |
|
| 48 | + public function testIncludeIn() { |
|
| 49 | 49 | $settings = GlobalAutoLinkSettings::get()->first(); |
| 50 | 50 | $settings->IncludeIn = 'Content, Introduction'; |
| 51 | 51 | $settings->write(); |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | /** |
| 83 | 83 | * Simple test page to test settings |
| 84 | 84 | */ |
| 85 | -class TestPage extends Page implements TestOnly{ |
|
| 85 | +class TestPage extends Page implements TestOnly { |
|
| 86 | 86 | private static $db = array( |
| 87 | 87 | 'Introduction' => 'HTMLText' |
| 88 | 88 | ); |