Skip to content

Commit

Permalink
Merge branch '3.0' into 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
robbieaverill committed Jan 29, 2019
2 parents d0533b1 + 15602cf commit 64b2318
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Forms/TextCheckboxGroupFieldTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ protected function setUp()

public function testFieldIsAssignedFirstFieldsTitleInConstructor()
{
$this->assertSame('Hello World', $this->field->Title());
// Note: SilverStripe 4.0-4.3 = "Hello World", 4.4+ "Hello world"
$this->assertTrue(strcasecmp('Hello World', $this->field->Title()) === 0);
}

public function testFieldReturnsCompositeFieldTemplateOnReadonlyTransformation()
Expand Down

0 comments on commit 64b2318

Please sign in to comment.