| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 54 | function testLanguage() |
||
| 55 | {
|
||
| 56 | global $webUrl, $SERVER, $DATABASE; |
||
| 57 | |||
| 58 | // Locate the list page of language. |
||
| 59 | $this->assertTrue($this->get("$webUrl/languages.php", array(
|
||
| 60 | 'server' => $SERVER, |
||
| 61 | 'database' => $DATABASE, |
||
| 62 | 'subject' => 'database')) |
||
| 63 | ); |
||
| 64 | |||
| 65 | $this->assertWantedPattern('/sql/');
|
||
| 66 | |||
| 67 | return TRUE; |
||
| 68 | } |
||
| 72 |
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.