mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-16 10:58:50 +01:00
Etemplate - clear other set limits to avoid conflicts with other tests
This commit is contained in:
parent
43f6acdf72
commit
f9e09953d1
@ -82,8 +82,9 @@ class IntegerTest extends \EGroupware\Api\Etemplate\WidgetBaseTest {
|
|||||||
);
|
);
|
||||||
$result = $this->mockedExec($etemplate, $content, array(), array(), array());
|
$result = $this->mockedExec($etemplate, $content, array(), array(), array());
|
||||||
|
|
||||||
// Only lowercase
|
// Set limits
|
||||||
$etemplate->getElementById('widget')->attrs['min'] = $min;
|
$etemplate->getElementById('widget')->attrs['min'] = $min;
|
||||||
|
$etemplate->getElementById('widget')->attrs['max'] = null;
|
||||||
|
|
||||||
// Check for the load
|
// Check for the load
|
||||||
$data = array();
|
$data = array();
|
||||||
@ -147,7 +148,8 @@ class IntegerTest extends \EGroupware\Api\Etemplate\WidgetBaseTest {
|
|||||||
);
|
);
|
||||||
$result = $this->mockedExec($etemplate, $content, array(), array(), array());
|
$result = $this->mockedExec($etemplate, $content, array(), array(), array());
|
||||||
|
|
||||||
// Only lowercase
|
// Set limits
|
||||||
|
$etemplate->getElementById('widget')->attrs['min'] = null;
|
||||||
$etemplate->getElementById('widget')->attrs['max'] = $max;
|
$etemplate->getElementById('widget')->attrs['max'] = $max;
|
||||||
|
|
||||||
// Check for the load
|
// Check for the load
|
||||||
|
Loading…
Reference in New Issue
Block a user