From f96a535f80594697061e6405b6243946acc68df1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= <jfd@butonic.de>
Date: Thu, 26 Jun 2014 11:30:00 +0200
Subject: [PATCH] fix objectstore test execution

---
 lib/private/files/objectstore/swift.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/files/objectstore/swift.php b/lib/private/files/objectstore/swift.php
index 71aae23bb5..3378fd7b86 100644
--- a/lib/private/files/objectstore/swift.php
+++ b/lib/private/files/objectstore/swift.php
@@ -80,7 +80,7 @@ class Swift implements IObjectStore {
 			$this->container = $this->objectStoreService->getContainer($this->params['container']);
 		} catch (ClientErrorResponseException $ex) {
 			// if the container does not exist and autocreate is true try to create the container on the fly
-			if (isset($params['autocreate']) && $params['autocreate'] === true) {
+			if (isset($this->params['autocreate']) && $this->params['autocreate'] === true) {
 				$this->container = $this->objectStoreService->createContainer($this->params['container']);
 			} else {
 				throw $ex;
-- 
GitLab