From 09cc75a6562a8ceb5760d3bac4c660a68a9dc522 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Thu, 5 Apr 2018 10:33:27 +1200 Subject: [PATCH] MINOR Add visiblity to SelectionGroup test functions --- tests/php/Forms/SelectionGroupTest.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/php/Forms/SelectionGroupTest.php b/tests/php/Forms/SelectionGroupTest.php index 87575ed1d..3c1d3e441 100644 --- a/tests/php/Forms/SelectionGroupTest.php +++ b/tests/php/Forms/SelectionGroupTest.php @@ -10,8 +10,7 @@ use SilverStripe\Forms\SelectionGroup; class SelectionGroupTest extends SapphireTest { - - function testFieldHolder() + public function testFieldHolder() { $items = array( new SelectionGroup_Item( @@ -41,7 +40,7 @@ class SelectionGroupTest extends SapphireTest $this->assertContains('two view', (string)$listElTwo->div); } - function testSelectedFieldHolder() + public function testSelectedFieldHolder() { $items = array( new SelectionGroup_Item( @@ -68,7 +67,7 @@ class SelectionGroupTest extends SapphireTest $this->assertEquals('selected', (string)$listElTwo->attributes()->class); } - function testLegacyItemsFieldHolder() + public function testLegacyItemsFieldHolder() { $items = array( 'one' => new LiteralField('one', 'one view'), @@ -87,7 +86,7 @@ class SelectionGroupTest extends SapphireTest $this->assertEquals(' two', (string)$listElTwo->label[0]); } - function testLegacyItemsFieldHolderWithTitle() + public function testLegacyItemsFieldHolderWithTitle() { $items = array( 'one//one title' => new LiteralField('one', 'one view'),