Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-09-07 06:00:14 +0300
committerOlivier Paroz <github@oparoz.com>2015-09-07 06:00:14 +0300
commitb885b54d310d809979898ade74eacaee1eb11450 (patch)
treee4003a05c7916e4e96a4c5efdd2725fa3750bf4c /tests/unit
parent1566f8d9db0d24e0bd504d3bd3c62566dbdfac8f (diff)
Log exceptions in CheckException directly
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/middleware/EnvCheckMiddlewareTest.php7
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;