Source of file FontPickerFieldTest.php
Size: 0,379 Bytes - Last Modified: 2021-12-24T06:43:12+00:00
/var/www/docs.ssmods.com/process/src/tests/Forms/FontPickerFieldTest.php
12345678910111213141516 | <?php namespace CWP\AgencyExtensions\Tests\Forms; use CWP\AgencyExtensions\Forms\FontPickerField; use SilverStripe\Dev\SapphireTest; class FontPickerFieldTest extends SapphireTest { public function testValueReturnsDefaultValueIfFalsy() { $field = new FontPickerField('test'); $this->assertSame(FontPickerField::DEFAULT_VALUE, $field->Value()); } } |