Some test documentation

This commit is contained in:
nathangray 2017-08-21 15:15:20 -06:00
parent 997c2fd1d5
commit 97543138f8
4 changed files with 7 additions and 2 deletions

View File

@ -1,11 +1,12 @@
<?php <?php
/** /**
* App * Test for templates
* *
* @link http://www.egroupware.org * @link http://www.egroupware.org
* @author Nathan Gray * @author Nathan Gray
* @package * @package api
* @subpackage etemplate
* @copyright (c) 2017 Nathan Gray * @copyright (c) 2017 Nathan Gray
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
*/ */

View File

@ -192,6 +192,10 @@ class EtemplateTest extends Etemplate\WidgetBaseTest {
$this->assertArraySubset($preserve, $result2); $this->assertArraySubset($preserve, $result2);
} }
/**
* Test of editable widget value overriding preserved value but a readonly
* widget does not override preserved value.
*/
public function testReadonlyPreserve() public function testReadonlyPreserve()
{ {
$etemplate = new Etemplate(); $etemplate = new Etemplate();

Binary file not shown.

Binary file not shown.