mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
✅ Fix false positive in tests
This commit is contained in:
@@ -32,7 +32,9 @@ class ValueTypeClass extends AbstractValueType
|
||||
$oModelReflection = DIService::GetInstance()->GetService('ModelReflection');
|
||||
|
||||
$sChoices = "[\n";
|
||||
foreach ($oModelReflection->GetClasses($sCategories, true) as $sClass) {
|
||||
$aClasses = $oModelReflection->GetClasses($sCategories, true);
|
||||
sort($aClasses);
|
||||
foreach ($aClasses as $sClass) {
|
||||
if ($oModelReflection->IsAbstract($sClass)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -567,37 +567,37 @@ class FormFor__ClassCategory extends Combodo\iTop\Forms\Block\Base\FormBlock
|
||||
\$this->Add('class_property', 'Combodo\iTop\Forms\Block\Base\ChoiceFormBlock', [
|
||||
'label' => 'UI:Class',
|
||||
'choices' => [
|
||||
\Dict::S('Class:UserExternal') => 'UserExternal',
|
||||
\Dict::S('Class:UserLDAP') => 'UserLDAP',
|
||||
\Dict::S('Class:UserLocal') => 'UserLocal',
|
||||
\Dict::S('Class:ActionEmail') => 'ActionEmail',
|
||||
\Dict::S('Class:ActionNewsroom') => 'ActionNewsroom',
|
||||
\Dict::S('Class:AuditCategory') => 'AuditCategory',
|
||||
\Dict::S('Class:AuditDomain') => 'AuditDomain',
|
||||
\Dict::S('Class:AuditRule') => 'AuditRule',
|
||||
\Dict::S('Class:OAuthClientAzure') => 'OAuthClientAzure',
|
||||
\Dict::S('Class:OAuthClientGoogle') => 'OAuthClientGoogle',
|
||||
\Dict::S('Class:QueryOQL') => 'QueryOQL',
|
||||
\Dict::S('Class:ActionEmail') => 'ActionEmail',
|
||||
\Dict::S('Class:TriggerOnPortalUpdate') => 'TriggerOnPortalUpdate',
|
||||
\Dict::S('Class:TriggerOnStateEnter') => 'TriggerOnStateEnter',
|
||||
\Dict::S('Class:TriggerOnStateLeave') => 'TriggerOnStateLeave',
|
||||
\Dict::S('Class:TriggerOnObjectCreate') => 'TriggerOnObjectCreate',
|
||||
\Dict::S('Class:TriggerOnObjectDelete') => 'TriggerOnObjectDelete',
|
||||
\Dict::S('Class:TriggerOnObjectUpdate') => 'TriggerOnObjectUpdate',
|
||||
\Dict::S('Class:TriggerOnObjectMention') => 'TriggerOnObjectMention',
|
||||
\Dict::S('Class:TriggerOnAttributeBlobDownload') => 'TriggerOnAttributeBlobDownload',
|
||||
\Dict::S('Class:TriggerOnThresholdReached') => 'TriggerOnThresholdReached',
|
||||
\Dict::S('Class:SynchroDataSource') => 'SynchroDataSource',
|
||||
\Dict::S('Class:SynchroAttribute') => 'SynchroAttribute',
|
||||
\Dict::S('Class:SynchroAttExtKey') => 'SynchroAttExtKey',
|
||||
\Dict::S('Class:SynchroAttLinkSet') => 'SynchroAttLinkSet',
|
||||
\Dict::S('Class:SynchroAttribute') => 'SynchroAttribute',
|
||||
\Dict::S('Class:SynchroDataSource') => 'SynchroDataSource',
|
||||
\Dict::S('Class:SynchroLog') => 'SynchroLog',
|
||||
\Dict::S('Class:SynchroReplica') => 'SynchroReplica',
|
||||
\Dict::S('Class:ActionNewsroom') => 'ActionNewsroom',
|
||||
\Dict::S('Class:TriggerOnAttachmentCreate') => 'TriggerOnAttachmentCreate',
|
||||
\Dict::S('Class:TriggerOnAttachmentDelete') => 'TriggerOnAttachmentDelete',
|
||||
\Dict::S('Class:TriggerOnAttachmentDownload') => 'TriggerOnAttachmentDownload',
|
||||
\Dict::S('Class:OAuthClientAzure') => 'OAuthClientAzure',
|
||||
\Dict::S('Class:OAuthClientGoogle') => 'OAuthClientGoogle',
|
||||
\Dict::S('Class:TriggerOnAttributeBlobDownload') => 'TriggerOnAttributeBlobDownload',
|
||||
\Dict::S('Class:TriggerOnObjectCreate') => 'TriggerOnObjectCreate',
|
||||
\Dict::S('Class:TriggerOnObjectDelete') => 'TriggerOnObjectDelete',
|
||||
\Dict::S('Class:TriggerOnObjectMention') => 'TriggerOnObjectMention',
|
||||
\Dict::S('Class:TriggerOnObjectUpdate') => 'TriggerOnObjectUpdate',
|
||||
\Dict::S('Class:TriggerOnPortalUpdate') => 'TriggerOnPortalUpdate',
|
||||
\Dict::S('Class:TriggerOnStateEnter') => 'TriggerOnStateEnter',
|
||||
\Dict::S('Class:TriggerOnStateLeave') => 'TriggerOnStateLeave',
|
||||
\Dict::S('Class:TriggerOnThresholdReached') => 'TriggerOnThresholdReached',
|
||||
\Dict::S('Class:URP_Profiles') => 'URP_Profiles',
|
||||
\Dict::S('Class:URP_UserOrg') => 'URP_UserOrg',
|
||||
\Dict::S('Class:UserExternal') => 'UserExternal',
|
||||
\Dict::S('Class:UserLDAP') => 'UserLDAP',
|
||||
\Dict::S('Class:UserLocal') => 'UserLocal',
|
||||
],
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user