コード例 #1
0
 public function testSetWidgetType()
 {
     $this->assertEquals($this->objProperty, $this->objProperty->setWidgetType('select'));
     $this->assertEquals('select', $this->objProperty->getWidgetType());
     $this->assertEquals('select', $GLOBALS['TL_DCA']['tl_test']['fields']['test']['inputType']);
 }