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/EmailText/EmailTextTest.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
833 B
PHP

<?php
use SuiteCRM\Test\SuitePHPUnitFrameworkTestCase;
class EmailTextTest extends SuitePHPUnitFrameworkTestCase
{
public function testEmailText(): void
{
// Execute the constructor and check for the Object type and attributes
$emailText = BeanFactory::newBean('EmailText');
self::assertInstanceOf('EmailText', $emailText);
self::assertInstanceOf('SugarBean', $emailText);
self::assertEquals('EmailText', $emailText->module_dir);
self::assertEquals('EmailText', $emailText->module_name);
self::assertEquals('EmailText', $emailText->object_name);
self::assertEquals('emails_text', $emailText->table_name);
self::assertEquals(true, $emailText->disable_row_level_security);
self::assertEquals(true, $emailText->disable_custom_fields);
}
}