mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2024-11-22 16:02:36 +00:00
26aab7535d
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
23 lines
833 B
PHP
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);
|
|
}
|
|
}
|