summaryrefslogtreecommitdiff
path: root/tests/unit/Web/THttpRequestTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/Web/THttpRequestTest.php')
-rw-r--r--tests/unit/Web/THttpRequestTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/Web/THttpRequestTest.php b/tests/unit/Web/THttpRequestTest.php
index e8b86ac8..a5f17f01 100644
--- a/tests/unit/Web/THttpRequestTest.php
+++ b/tests/unit/Web/THttpRequestTest.php
@@ -84,6 +84,7 @@ class THttpRequestTest extends PHPUnit_Framework_TestCase {
$request->setUrlManager('invalidManagerId');
try {
$request->init(null);
+ $request->getUrlManagerModule();
self::fail ('httprequest_urlmanager_inexist exception not thrown');
} catch (TConfigurationException $e) {
@@ -98,6 +99,7 @@ class THttpRequestTest extends PHPUnit_Framework_TestCase {
$request->setUrlManager('badmanager');
try {
$request->init(null);
+ $request->getUrlManagerModule();
self::fail ('httprequest_urlmanager_invalid exception not thrown');
} catch (TConfigurationException $e) {