mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-15 12:34:33 +01:00
Etemplate - fix a testing bug giving false positives
This commit is contained in:
parent
f9e09953d1
commit
1b36ecb962
@ -231,7 +231,7 @@ abstract class WidgetBaseTest extends \EGroupware\Api\LoggedInTest {
|
||||
// Check validation errors
|
||||
foreach($validation_errors as $widget_id => $errored)
|
||||
{
|
||||
$this->assertTrue(array_key_exists($widget_id, $validation_errors), "Widget $widget_id did not cause a validation error");
|
||||
$this->assertTrue(array_key_exists($widget_id, $errors), "Widget $widget_id did not cause a validation error");
|
||||
}
|
||||
$ref->setValue(array());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user