aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2010-12-13 19:21:20 +0100
committerChristian Weiske <cweiske@cweiske.de>2010-12-13 19:21:20 +0100
commitc5139cfd6db3f77bfd3bb3dc36bb915c8a014e0f (patch)
treeb5f0edbd0fc335377ee4f137346c365216bbd5d2 /tests
parent126f3b06d394c5252eaf308b55d8f6933ea48265 (diff)
downloadlinksys-wrt3g-tools-c5139cfd6db3f77bfd3bb3dc36bb915c8a014e0f.tar.gz
linksys-wrt3g-tools-c5139cfd6db3f77bfd3bb3dc36bb915c8a014e0f.zip
make the tests work by implementing proper html parsing :/
Diffstat (limited to 'tests')
-rw-r--r--tests/index_wstatus1-connected-excellent.phpt6
-rw-r--r--tests/index_wstatus1-connected-good.phpt6
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/index_wstatus1-connected-excellent.phpt b/tests/index_wstatus1-connected-excellent.phpt
index 363a940..4bfb354 100644
--- a/tests/index_wstatus1-connected-excellent.phpt
+++ b/tests/index_wstatus1-connected-excellent.phpt
@@ -13,9 +13,9 @@ var_dump(
--EXPECT--
array(3) {
["type"]=>
- string(8) "GPRS"
+ string(4) "GPRS"
["network"]=>
- string(8) "BASE DE"
+ string(7) "BASE DE"
["signal strength"]=>
- string(8) "excellent"
+ string(9) "excellent"
}
diff --git a/tests/index_wstatus1-connected-good.phpt b/tests/index_wstatus1-connected-good.phpt
index a78bcc9..926df8e 100644
--- a/tests/index_wstatus1-connected-good.phpt
+++ b/tests/index_wstatus1-connected-good.phpt
@@ -13,9 +13,9 @@ var_dump(
--EXPECT--
array(3) {
["type"]=>
- string(8) "GPRS"
+ string(4) "GPRS"
["network"]=>
- string(8) "BASE DE"
+ string(7) "BASE DE"
["signal strength"]=>
- string(8) "good"
+ string(4) "good"
}