Files
FOSSBilling/tests/integration/bb-modules/mod_extension/Api_GuestTest.php
T
2022-09-30 20:56:37 +03:00

23 lines
603 B
PHP

<?php
/**
* @group Core
*/
class Api_Guest_ExtensionTest extends BBDbApiTestCase
{
protected $_initialSeedFile = 'extensions.xml';
public function testLists()
{
$array = $this->api_guest->extension_languages();
$this->assertIsArray($array);
$array = $this->api_guest->extension_theme();
$this->assertIsArray($array);
$bool = $this->api_guest->extension_is_on(array('mod'=>'system'));
$this->assertTrue($bool);
$arr = $this->api_guest->extension_settings(array('ext'=>'mod_email'));
$this->assertIsArray($arr);
}
}