aboutsummaryrefslogtreecommitdiffstats
path: root/apps/encryption/composer
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-08-10 15:03:22 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-08-10 15:03:22 +0200
commit90a656305bb5e69e63381cb31c45eca89d017f34 (patch)
tree1617656f64a701b3223f59fd42635d8a30ae644c /apps/encryption/composer
parent7aad5b7721bbecf673b1adb4f40a9b561bf6949e (diff)
downloadnextcloud-server-90a656305bb5e69e63381cb31c45eca89d017f34.tar.gz
nextcloud-server-90a656305bb5e69e63381cb31c45eca89d017f34.zip
Bump autoloaders
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/encryption/composer')
-rw-r--r--apps/encryption/composer/composer/ClassLoader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/composer/composer/ClassLoader.php b/apps/encryption/composer/composer/ClassLoader.php
index dc02dfb114f..95f7e0978ba 100644
--- a/apps/encryption/composer/composer/ClassLoader.php
+++ b/apps/encryption/composer/composer/ClassLoader.php
@@ -377,7 +377,7 @@ class ClassLoader
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
- $search = $subPath.'\\';
+ $search = $subPath . '\\';
if (isset($this->prefixDirsPsr4[$search])) {
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
foreach ($this->prefixDirsPsr4[$search] as $dir) {
ral.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
<?php
/**
 * @license GNU AGPL version 3 or any later version
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

namespace OCA\Files_Trashbin\Tests;

use OCA\Files_Trashbin\Capabilities;
use Test\TestCase;

class CapabilitiesTest extends TestCase {

	/** @var Capabilities */
	private $capabilities;

	public function setUp() {
		parent::setUp();
		$this->capabilities = new Capabilities();
	}
	
	public function testGetCapabilities() {
		$capabilities = [
			'files' => [
				'undelete' => true
			]
		];

		$this->assertSame($capabilities, $this->capabilities->getCapabilities());
	}
}