mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Fix merge conflict
This commit is contained in:
@@ -273,7 +273,7 @@ PHP
|
||||
{
|
||||
$oDateAttribute = $this->GivenAttribute(\WorkOrder::class, 'start_date', AttributeDate::class, 'zabugomeuh', false);
|
||||
|
||||
$defaultValue = $oDateAttribute->GetDefaultValue()
|
||||
$defaultValue = $oDateAttribute->GetDefaultValue();
|
||||
$this->AssertLastErrorLogEntryContains("Invalid default value 'zabugomeuh' for field 'start_date' on class 'WorkOrder', defaulting to null", "Last error log entry should contain a meaningful message");
|
||||
|
||||
self::assertNull($defaultValue, 'Invalid default value for Date attribute should give null default value');
|
||||
|
||||
Reference in New Issue
Block a user