diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2018-03-28 16:27:29 +0200 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2018-04-03 18:12:16 +0200 |
commit | d4f64b94f28e4ed2c95b235ea4cc2840d1cf000f (patch) | |
tree | a6851e68e2ae5c44991778e0513194dbc8f7c6cf /tests/lib | |
parent | a0818ab6bec3c323aafe6ee197f6974c7c42e21d (diff) | |
download | nextcloud-server-d4f64b94f28e4ed2c95b235ea4cc2840d1cf000f.tar.gz nextcloud-server-d4f64b94f28e4ed2c95b235ea4cc2840d1cf000f.zip |
reset encryptionVersion to '1' if a file was stream copied, because this means that we basically write the file from scratch
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/Files/Storage/Wrapper/EncryptionTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Files/Storage/Wrapper/EncryptionTest.php b/tests/lib/Files/Storage/Wrapper/EncryptionTest.php index c184752ff7e..14f4426a9f6 100644 --- a/tests/lib/Files/Storage/Wrapper/EncryptionTest.php +++ b/tests/lib/Files/Storage/Wrapper/EncryptionTest.php @@ -806,7 +806,7 @@ class EncryptionTest extends Storage { 'encrypted' => $expectedEncrypted, ]; if($expectedEncrypted === true) { - $expectedCachePut['encryptedVersion'] = 12345; + $expectedCachePut['encryptedVersion'] = 1; } $this->arrayCache->expects($this->never())->method('set'); |