0
0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2024-12-23 04:48:03 +00:00
salesagility_SuiteCRM/tests/unit/phpunit/modules/AM_ProjectTemplates/AM_ProjectTemplatesTest.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
1.0 KiB
PHP

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