summaryrefslogtreecommitdiffstats
path: root/tests/lib/session
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/session')
-rw-r--r--tests/lib/session/cryptowrappingtest.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/lib/session/cryptowrappingtest.php b/tests/lib/session/cryptowrappingtest.php
index 1cbe60066fe..e1fadbf933f 100644
--- a/tests/lib/session/cryptowrappingtest.php
+++ b/tests/lib/session/cryptowrappingtest.php
@@ -57,15 +57,6 @@ class CryptoWrappingTest extends TestCase {
$this->instance = new CryptoSessionData($this->wrappedSession, $this->crypto, 'PASS');
}
- public function testWrappingSet() {
- $unencryptedValue = 'foobar';
-
- $this->wrappedSession->expects($this->once())
- ->method('set')
- ->with('encrypted_session_data', $this->crypto->encrypt(json_encode(['encrypted_session_data' => $unencryptedValue])));
- $this->instance->set('encrypted_session_data', $unencryptedValue);
- }
-
public function testUnwrappingGet() {
$unencryptedValue = 'foobar';
$encryptedValue = $this->crypto->encrypt($unencryptedValue);