summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-06-29 14:45:08 +0200
committerRobin Appelman <robin@icewind.nl>2017-06-29 14:45:08 +0200
commit601362e164632a1b68e896bd5359d0b7308eed4f (patch)
tree0480f352ab4cbf72e0c1cbeb742990996ca4ad7c /tests/lib
parent846e62c225070cbe9f8a0c8b14ec2a1f87ba1ca1 (diff)
downloadnextcloud-server-601362e164632a1b68e896bd5359d0b7308eed4f.tar.gz
nextcloud-server-601362e164632a1b68e896bd5359d0b7308eed4f.zip
adjust to moved repair step
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/Repair/RepairInvalidPathsTest.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/lib/Repair/RepairInvalidPathsTest.php b/tests/lib/Repair/RepairInvalidPathsTest.php
index c6c1bbb19bc..b18758585c1 100644
--- a/tests/lib/Repair/RepairInvalidPathsTest.php
+++ b/tests/lib/Repair/RepairInvalidPathsTest.php
@@ -23,7 +23,8 @@ namespace Test\Repair;
use OC\Files\Cache\Cache;
use OC\Files\Storage\Temporary;
-use OC\Repair\RepairInvalidPaths;
+use OC\Repair\NC13\RepairInvalidPaths;
+use OCP\IConfig;
use OCP\Migration\IOutput;
use Test\TestCase;
@@ -43,7 +44,12 @@ class RepairInvalidPathsTest extends TestCase {
$this->storage = new Temporary();
$this->cache = $this->storage->getCache();
- $this->repair = new RepairInvalidPaths(\OC::$server->getDatabaseConnection());
+ $config = $this->createMock(IConfig::class);
+ $config->expects($this->any())
+ ->method('getSystemValue')
+ ->with('version', '0.0.0')
+ ->willReturn('12.0.0.0');
+ $this->repair = new RepairInvalidPaths(\OC::$server->getDatabaseConnection(), $config);
}
protected function tearDown() {
color: #888888 } /* Comment.Multiline */ .highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */ .highlight .cpf { color: #888888 } /* Comment.PreprocFile */ .highlight .c1 { color: #888888 } /* Comment.Single */ .highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .gr { color: #aa0000 } /* Generic.Error */ .highlight .gh { color: #333333 } /* Generic.Heading */ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ .highlight .go { color: #888888 } /* Generic.Output */ .highlight .gp { color: #555555 } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #666666 } /* Generic.Subheading */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.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 */
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# 
# Translators:
# ismail yenigul <ismail.yenigul@surgate.com>, 2013.
# Necdet Yücel <necdetyucel@gmail.com>, 2012.
msgid ""
msgstr ""
"Project-Id-Version: ownCloud\n"
"Report-Msgid-Bugs-To: http://bugs.owncloud.org/\n"
"POT-Creation-Date: 2013-01-23 00:05+0100\n"
"PO-Revision-Date: 2013-01-22 09:28+0000\n"
"Last-Translator: ismail yenigül <ismail.yenigul@surgate.com>\n"
"Language-Team: Turkish (http://www.transifex.com/projects/p/owncloud/language/tr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: tr\n"
"Plural-Forms: nplurals=1; plural=0;\n"

#: app.php:301
msgid "Help"
msgstr "Yardı"

#: app.php:308
msgid "Personal"
msgstr "Kişisel"

#: app.php:313
msgid "Settings"
msgstr "Ayarlar"

#: app.php:318
msgid "Users"
msgstr "Kullanıcılar"

#: app.php:325
msgid "Apps"
msgstr "Uygulamalar"

#: app.php:327
msgid "Admin"
msgstr "Yönetici"

#: files.php:365
msgid "ZIP download is turned off."
msgstr "ZIP indirmeleri kapatılmıştır."

#: files.php:366
msgid "Files need to be downloaded one by one."
msgstr "Dosyaların birer birer indirilmesi gerekmektedir."

#: files.php:366 files.php:391
msgid "Back to Files"
msgstr "Dosyalara dön"

#: files.php:390
msgid "Selected files too large to generate zip file."
msgstr "Seçilen dosyalar bir zip dosyası oluşturmak için fazla büyüktür."

#: helper.php:229
msgid "couldn't be determined"
msgstr "tespit edilemedi"

#: json.php:28
msgid "Application is not enabled"
msgstr "Uygulama etkinleştirilmedi"

#: json.php:39 json.php:62 json.php:73
msgid "Authentication error"
msgstr "Kimlik doğrulama hatası"

#: json.php:51
msgid "Token expired. Please reload page."
msgstr "Jetonun süresi geçti. Lütfen sayfayı yenileyin."

#: search/provider/file.php:17 search/provider/file.php:35
msgid "Files"
msgstr "Dosyalar"

#: search/provider/file.php:26 search/provider/file.php:33
msgid "Text"
msgstr "Metin"

#: search/provider/file.php:29
msgid "Images"
msgstr "Resimler"

#: template.php:113
msgid "seconds ago"
msgstr "saniye önce"

#: template.php:114
msgid "1 minute ago"
msgstr "1 dakika önce"

#: template.php:115
#, php-format
msgid "%d minutes ago"
msgstr "%d dakika önce"

#: template.php:116
msgid "1 hour ago"
msgstr "1 saat önce"

#: template.php:117
#, php-format
msgid "%d hours ago"
msgstr "%d saat önce"

#: template.php:118
msgid "today"
msgstr "bugün"

#: template.php:119
msgid "yesterday"
msgstr "dün"

#: template.php:120
#, php-format
msgid "%d days ago"
msgstr "%d gün önce"

#: template.php:121
msgid "last month"
msgstr "geçen ay"

#: template.php:122
#, php-format
msgid "%d months ago"
msgstr "%d ay önce"

#: template.php:123
msgid "last year"
msgstr "geçen yıl"

#: template.php:124
msgid "years ago"
msgstr "yıl önce"

#: updater.php:75
#, php-format
msgid "%s is available. Get <a href=\"%s\">more information</a>"
msgstr "%s kullanılabilir durumda. <a href=\"%s\">Daha fazla bilgi</a> alın"

#: updater.php:77
msgid "up to date"
msgstr "güncel"

#: updater.php:80
msgid "updates check is disabled"
msgstr "güncelleme kontrolü kapalı"

#: vcategories.php:188 vcategories.php:249
#, php-format
msgid "Could not find category \"%s\""
msgstr "\"%s\" kategorisi bulunamadı"