summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-09-08 22:05:36 +0200
committerLukas Reschke <lukas@owncloud.com>2015-09-09 12:48:37 +0200
commit0b910874899b3c7cd839e8b0a0a8416e44e348bc (patch)
tree78e92da1b408c140f29b881ed306b9d4452fb55c /tests
parente579dd62fd4d4622766ecf60473dba41d3fbed9b (diff)
downloadnextcloud-server-0b910874899b3c7cd839e8b0a0a8416e44e348bc.tar.gz
nextcloud-server-0b910874899b3c7cd839e8b0a0a8416e44e348bc.zip
Write to session in batch at the end of the request
Diffstat (limited to 'tests')
-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);