]> source.dussan.org Git - nextcloud-server.git/commitdiff
Do not convert boolean to integer in tests. put() already does this.
authorAndreas Fischer <bantu@owncloud.com>
Fri, 20 Sep 2013 22:12:13 +0000 (00:12 +0200)
committerAndreas Fischer <bantu@owncloud.com>
Fri, 20 Sep 2013 22:12:13 +0000 (00:12 +0200)
tests/lib/files/cache/scanner.php

index 8112eada17cc651e37e4153d8fc0f0a825cf3a88..b137799bbcfc078f447962356cb49da95170d439 100644 (file)
@@ -195,7 +195,6 @@ class Scanner extends \PHPUnit_Framework_TestCase {
                $data1 = $this->cache->get('folder');
                $data2 = $this->cache->get('');
                $data0['etag'] = '';
-               $data0['encrypted'] = $data0['encrypted'] ? 1: 0;
                $this->cache->put('folder/bar.txt', $data0);
 
                // rescan