mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-09 13:36:07 +09:00
Added Mod integration test
This commit is contained in:
1 parent
7b8114dc41
commit
44db5964d1
1 file changed
+22
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @group Core
|
||||
*/
|
||||
class Box_ModIntegrationTest extends BBDbApiTestCase
|
||||
{
|
||||
public function testModel()
|
||||
{
|
||||
$conf = array(
|
||||
'last_name'
|
||||
);
|
||||
|
||||
$this->api_admin->extension_config_save(array(
|
||||
'ext' => 'mod_client',
|
||||
'required' => $conf
|
||||
));
|
||||
|
||||
$config = $this->di['mod_config']('client');
|
||||
$this->assertEquals($conf, $config);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user