summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-06-02 13:45:13 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-06-10 12:44:49 +0200
commit60225284f3b8ef947f67bbe168b12dca867d6f3d (patch)
treea63833350c932ca26bb9135bcdb1b8fb7aec32c9 /tests
parent1b66db72d916a763b1c22613b9df5c42e93593a8 (diff)
downloadnextcloud-server-60225284f3b8ef947f67bbe168b12dca867d6f3d.tar.gz
nextcloud-server-60225284f3b8ef947f67bbe168b12dca867d6f3d.zip
Add not-null columns for oracle
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Repair/AvatarPermissionsTest.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/lib/Repair/AvatarPermissionsTest.php b/tests/lib/Repair/AvatarPermissionsTest.php
index fb0b29daeb0..e3f582dc512 100644
--- a/tests/lib/Repair/AvatarPermissionsTest.php
+++ b/tests/lib/Repair/AvatarPermissionsTest.php
@@ -148,6 +148,15 @@ class AvatarPermissionsTest extends \Test\TestCase {
$qb->insert('filecache')
->values([
'path' => $qb->createNamedParameter($path),
+ 'path_hash' => $qb->createNamedParameter(md5($path)),
+ 'parent' => $qb->createNamedParameter(42),
+ 'mimetype' => $qb->createNamedParameter(23),
+ 'mimepart' => $qb->createNamedParameter(32),
+ 'size' => $qb->createNamedParameter(16),
+ 'mtime' => $qb->createNamedParameter(1),
+ 'storage_mtime' => $qb->createNamedParameter(2),
+ 'encrypted' => $qb->createNamedParameter(0),
+ 'unencrypted_size' => $qb->createNamedParameter(0),
'storage' => $qb->createNamedParameter($storage),
'permissions' => $qb->createNamedParameter($permissions),
]);