diff options
author | Olivier Paroz <github@oparoz.com> | 2015-09-07 06:00:14 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-09-07 06:00:14 +0300 |
commit | b885b54d310d809979898ade74eacaee1eb11450 (patch) | |
tree | e4003a05c7916e4e96a4c5efdd2725fa3750bf4c /tests | |
parent | 1566f8d9db0d24e0bd504d3bd3c62566dbdfac8f (diff) |
Log exceptions in CheckException directly
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/middleware/EnvCheckMiddlewareTest.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/unit/middleware/EnvCheckMiddlewareTest.php b/tests/unit/middleware/EnvCheckMiddlewareTest.php index 82af3b1c..cb57481c 100644 --- a/tests/unit/middleware/EnvCheckMiddlewareTest.php +++ b/tests/unit/middleware/EnvCheckMiddlewareTest.php @@ -443,13 +443,6 @@ class EnvCheckMiddlewareTest extends \Codeception\TestCase\Test { self::invokePrivate($this->middleware, 'checkLinkItemExists', [$linkItem]); } - /** - * @expectedException \OCA\Gallery\Middleware\CheckException - */ - public function testNoTokenFound() { - self::invokePrivate($this->middleware, 'noTokenFound'); - } - public function testAfterExceptionWithCheckExceptionAndHtmlAcceptAnd401Code() { $message = 'fail'; $code = Http::STATUS_UNAUTHORIZED; |