blob: e547e61fc717be9e56b6b1e6d48157cf37425c0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--TEST--
test Wrt3g_HtmlParser::index_wstatus1() when we have an excellent connection
--FILE--
<?php
chdir(dirname(__FILE__));
require_once dirname(__FILE__) . '/../Wrt3g/HtmlParser.php';
$p = new Wrt3g_HtmlParser();
var_dump(
$p->index_wstatus2(
file_get_contents('index_wstatus2-disconnected.htm')
)
);
--EXPECT--
array(1) {
["connection"]=>
string(12) "disconnected"
}
|