| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 53 | function testVariablesList() |
||
| 54 | {
|
||
| 55 | global $webUrl; |
||
| 56 | global $lang, $SERVER, $DATABASE; |
||
| 57 | |||
| 58 | $this->assertTrue($this->get("$webUrl/database.php", array(
|
||
| 59 | 'server' => $SERVER, |
||
| 60 | 'database' => $DATABASE, |
||
| 61 | 'subject' => 'database', |
||
| 62 | 'action' => 'variables')) |
||
| 63 | ); |
||
| 64 | |||
| 65 | $this->assertWantedText($lang['strname']); |
||
| 66 | $this->assertWantedText($lang['strsetting']); |
||
| 67 | |||
| 68 | return TRUE; |
||
| 69 | } |
||
| 73 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.