mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8600 201d5d3c-b55e-5fd7-737f-ddc643e51545
22 lines
735 B
PHP
22 lines
735 B
PHP
<?php
|
|
|
|
class CubridSelectOnlineTest extends CubridOnlineTest {
|
|
|
|
function test_get_module_by_mid(){
|
|
$args->mid = 'test_4l8ci4vv0n';
|
|
$args->site_srl = 0;
|
|
$output = executeQuery('module.getMidInfo', $args);
|
|
$this->assertNotNull($output);
|
|
$this->assertNotNull($output->data);
|
|
$this->assertEquals($output->data->module_srl, 111);
|
|
}
|
|
|
|
function test_module_getInfo(){
|
|
$args->site_srl = 0;
|
|
$output = executeQuery('module.getSiteInfo', $args);
|
|
$this->assertTrue(is_a($output, 'Object'));
|
|
$this->assertEquals(0, $output->error);
|
|
var_dump($output);
|
|
}
|
|
}
|
|
?>
|