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:01:23 +0200 |
commit | a0923d9ffb3f6827fefdef91e14992fd7d452ede (patch) | |
tree | 0679d58ba3d986f534a1df62e709345d1bdba4a1 /tests | |
parent | ed239d72dc51b4b50eaec1ab8bbeb2e5cf6249b7 (diff) | |
download | nextcloud-server-a0923d9ffb3f6827fefdef91e14992fd7d452ede.tar.gz nextcloud-server-a0923d9ffb3f6827fefdef91e14992fd7d452ede.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')
-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 5bcff56e373..082c08b3e43 100644 --- a/tests/lib/Files/Storage/Wrapper/EncryptionTest.php +++ b/tests/lib/Files/Storage/Wrapper/EncryptionTest.php @@ -802,7 +802,7 @@ class EncryptionTest extends Storage { 'encrypted' => $expectedEncrypted, ]; if($expectedEncrypted === true) { - $expectedCachePut['encryptedVersion'] = 12345; + $expectedCachePut['encryptedVersion'] = 1; } $this->arrayCache->expects($this->never())->method('set'); |