0
0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2024-11-22 16:02:36 +00:00
salesagility_SuiteCRM/tests/unit/phpunit/modules/AM_TaskTemplates/AM_TaskTemplatesTest.php
Dillon-Brown 26aab7535d Move test namespaces into autoload-dev
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-09-08 16:49:16 +01:00

23 lines
987 B
PHP

<?php
use SuiteCRM\Test\SuitePHPUnitFrameworkTestCase;
class AM_TaskTemplatesTest extends SuitePHPUnitFrameworkTestCase
{
public function testAM_TaskTemplates(): void
{
// Execute the constructor and check for the Object type and type attribute
$am_taskTemplates = BeanFactory::newBean('AM_TaskTemplates');
self::assertInstanceOf('AM_TaskTemplates', $am_taskTemplates);
self::assertInstanceOf('Basic', $am_taskTemplates);
self::assertInstanceOf('SugarBean', $am_taskTemplates);
self::assertEquals('AM_TaskTemplates', $am_taskTemplates->module_dir);
self::assertEquals('AM_TaskTemplates', $am_taskTemplates->object_name);
self::assertEquals('am_tasktemplates', $am_taskTemplates->table_name);
self::assertEquals(true, $am_taskTemplates->new_schema);
self::assertEquals(true, $am_taskTemplates->disable_row_level_security);
self::assertEquals(false, $am_taskTemplates->importable);
}
}