diff --git a/apps/encryption/tests/lib/crypto/encryptionTest.php b/apps/encryption/tests/lib/crypto/encryptionTest.php
index 7f3a16a36b091af1c67f2cec9166e7874fb97102..52a322463a9ebbefed5c75efc2c483fd4bb1f554 100644
--- a/apps/encryption/tests/lib/crypto/encryptionTest.php
+++ b/apps/encryption/tests/lib/crypto/encryptionTest.php
@@ -60,7 +60,6 @@ class EncryptionTest extends TestCase {
 	 * @dataProvider dataProviderForTestGetPathToRealFile
 	 */
 	public function testGetPathToRealFile($path, $expected) {
-		$result = \Test_Helper::invokePrivate($this->instance, 'getPathToRealFile', array($path));
 		$this->assertSame($expected,
 			\Test_Helper::invokePrivate($this->instance, 'getPathToRealFile', array($path))
 		);