mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-03 05:41:52 +09:00
23 lines
603 B
PHP
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);
|
|
}
|
|
} |