summaryrefslogtreecommitdiffstats
path: root/apps/encryption/tests/Crypto
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-03-14 11:31:46 +0100
committerBjoern Schiessle <bjoern@schiessle.org>2017-03-14 12:11:28 +0100
commit9ce32d9941c7faab676569f5d2e1c9b7e25ee617 (patch)
tree03c90e7fc4053b612c3376c6877eb2bdf6ccf97a /apps/encryption/tests/Crypto
parent8d91c84ec4f60b382729ac0bc8c9ed08a4157236 (diff)
downloadnextcloud-server-9ce32d9941c7faab676569f5d2e1c9b7e25ee617.tar.gz
nextcloud-server-9ce32d9941c7faab676569f5d2e1c9b7e25ee617.zip
always throw a encryption exception
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/encryption/tests/Crypto')
-rw-r--r--apps/encryption/tests/Crypto/CryptTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/tests/Crypto/CryptTest.php b/apps/encryption/tests/Crypto/CryptTest.php
index b808acaf199..3c226ed94ab 100644
--- a/apps/encryption/tests/Crypto/CryptTest.php
+++ b/apps/encryption/tests/Crypto/CryptTest.php
@@ -247,7 +247,7 @@ class CryptTest extends TestCase {
/**
* @dataProvider dataTestHasSignatureFail
- * @expectedException \OC\HintException
+ * @expectedException \OCP\Encryption\Exceptions\GenericEncryptionException
*/
public function testHasSignatureFail($cipher) {
$data = 'encryptedContent00iv001234567890123456xx';