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/AOK_KnowledgeBase/AOK_KnowledgeBaseTest.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
1004 B
PHP

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