mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2025-02-21 20:56:08 +00:00

- File: '... /tests/unit/phpunit/modules/Groups/GroupTest.php' - Replaced 3 occurrence(s) of 'new Group()' - Replaced 1 occurrence(s) of 'new User()' - File: '... /tests/unit/phpunit/modules/AOS_Product_Categories/AOS_Product_CategoriesTest.php' - Replaced 1 occurrence(s) of 'new User()' - Replaced 2 occurrence(s) of 'new AOS_Product_Categories()' - File: '... /tests/unit/phpunit/modules/AOD_IndexEvent/AOD_IndexEventTest.php' - Replaced 1 occurrence(s) of 'new AOD_IndexEvent()' - File: '... /tests/unit/phpunit/modules/AOP_Case_Updates/AOP_Case_UpdatesTest.php' - Replaced 1 occurrence(s) of 'new User()' - Replaced 7 occurrence(s) of 'new AOP_Case_Updates()' - File: '... /tests/unit/phpunit/modules/Campaigns/CampaignTest.php' - Replaced 1 occurrence(s) of 'new Lead()' - Replaced 3 occurrence(s) of 'new ProspectList()' - Replaced 20 occurrence(s) of 'new Campaign()' - Replaced 1 occurrence(s) of 'new User()' - File: '... /tests/unit/phpunit/modules/DocumentRevisions/DocumentRevisionTest.php' - Replaced 1 occurrence(s) of 'new User()' - Replaced 13 occurrence(s) of 'new DocumentRevision()' - File: '... /tests/unit/phpunit/modules/AOW_WorkFlow/AOW_WorkFlowTest.php' - Replaced 4 occurrence(s) of 'new Call()' - Replaced 1 occurrence(s) of 'new User()' - Replaced 3 occurrence(s) of 'new AOS_Quotes()' - Replaced 16 occurrence(s) of 'new AOW_WorkFlow()' - Replaced 1 occurrence(s) of 'new AOW_Processed()' - Replaced 2 occurrence(s) of 'new AOW_Condition()' - File: '... /tests/unit/phpunit/modules/EmailAddresses/EmailAddressTest.php' - Replaced 2 occurrence(s) of 'new EmailAddress()' - File: '... /tests/unit/phpunit/modules/AOW_Conditions/AOW_ConditionTest.php' - Replaced 1 occurrence(s) of 'new User()' - Replaced 1 occurrence(s) of 'new AOW_WorkFlow()' - Replaced 3 occurrence(s) of 'new AOW_Condition()' - File: '... /tests/unit/phpunit/modules/Calls/CallTest.php' - Replaced 18 occurrence(s) of 'new Call()' - Replaced 2 occurrence(s) of 'new User()'
23 lines
1.1 KiB
PHP
23 lines
1.1 KiB
PHP
<?php
|
|
|
|
use SuiteCRM\Test\SuitePHPUnitFrameworkTestCase;
|
|
|
|
class AOD_IndexEventTest extends SuitePHPUnitFrameworkTestCase
|
|
{
|
|
public function testAOD_IndexEvent()
|
|
{
|
|
// Execute the constructor and check for the Object type and type attribute
|
|
$aod_indexEvent = BeanFactory::newBean('AOD_IndexEvent');
|
|
$this->assertInstanceOf('AOD_IndexEvent', $aod_indexEvent);
|
|
$this->assertInstanceOf('Basic', $aod_indexEvent);
|
|
$this->assertInstanceOf('SugarBean', $aod_indexEvent);
|
|
|
|
$this->assertAttributeEquals('AOD_IndexEvent', 'module_dir', $aod_indexEvent);
|
|
$this->assertAttributeEquals('AOD_IndexEvent', 'object_name', $aod_indexEvent);
|
|
$this->assertAttributeEquals('aod_indexevent', 'table_name', $aod_indexEvent);
|
|
$this->assertAttributeEquals(true, 'new_schema', $aod_indexEvent);
|
|
$this->assertAttributeEquals(true, 'disable_row_level_security', $aod_indexEvent);
|
|
$this->assertAttributeEquals(false, 'importable', $aod_indexEvent);
|
|
$this->assertAttributeEquals(false, 'tracker_visibility', $aod_indexEvent);
|
|
}
|
|
}
|