… and their tests needed adjustments, too

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2017-06-29 14:38:22 +02:00
parent 005ef115fb
commit 010a3c09f2
No known key found for this signature in database
GPG key ID: 7424F1874854DF23
5 changed files with 8 additions and 8 deletions

View file

@ -97,7 +97,7 @@ class AdditionalTest extends TestCase {
$expected = new TemplateResponse( $expected = new TemplateResponse(
'settings', 'settings',
'admin/additional-mail', 'settings/admin/additional-mail',
[ [
'sendmail_is_available' => (bool) \OC_Helper::findBinaryPath('sendmail'), 'sendmail_is_available' => (bool) \OC_Helper::findBinaryPath('sendmail'),
'mail_domain' => 'mx.nextcloud.com', 'mail_domain' => 'mx.nextcloud.com',

View file

@ -81,7 +81,7 @@ class EncryptionTest extends TestCase {
->willReturn(['entry']); ->willReturn(['entry']);
$expected = new TemplateResponse( $expected = new TemplateResponse(
'settings', 'settings',
'admin/encryption', 'settings/admin/encryption',
[ [
'encryptionEnabled' => $enabled, 'encryptionEnabled' => $enabled,
'encryptionReady' => $enabled, 'encryptionReady' => $enabled,
@ -116,7 +116,7 @@ class EncryptionTest extends TestCase {
->willReturn(['entry', 'entry']); ->willReturn(['entry', 'entry']);
$expected = new TemplateResponse( $expected = new TemplateResponse(
'settings', 'settings',
'admin/encryption', 'settings/admin/encryption',
[ [
'encryptionEnabled' => $enabled, 'encryptionEnabled' => $enabled,
'encryptionReady' => $enabled, 'encryptionReady' => $enabled,

View file

@ -123,7 +123,7 @@ class ServerTest extends TestCase {
$envPath = getenv('PATH'); $envPath = getenv('PATH');
$expected = new TemplateResponse( $expected = new TemplateResponse(
'settings', 'settings',
'admin/server', 'settings/admin/server',
[ [
// Diagnosis // Diagnosis
'readOnlyConfigEnabled' => \OC_Helper::isReadOnlyConfigEnabled(), 'readOnlyConfigEnabled' => \OC_Helper::isReadOnlyConfigEnabled(),

View file

@ -112,7 +112,7 @@ class SharingTest extends TestCase {
$expected = new TemplateResponse( $expected = new TemplateResponse(
'settings', 'settings',
'admin/sharing', 'settings/admin/sharing',
[ [
'allowGroupSharing' => 'yes', 'allowGroupSharing' => 'yes',
'allowLinks' => 'yes', 'allowLinks' => 'yes',
@ -205,7 +205,7 @@ class SharingTest extends TestCase {
$expected = new TemplateResponse( $expected = new TemplateResponse(
'settings', 'settings',
'admin/sharing', 'settings/admin/sharing',
[ [
'allowGroupSharing' => 'yes', 'allowGroupSharing' => 'yes',
'allowLinks' => 'yes', 'allowLinks' => 'yes',

View file

@ -52,7 +52,7 @@ class TipsTrickTest extends TestCase {
$expected = new TemplateResponse( $expected = new TemplateResponse(
'settings', 'settings',
'admin/tipstricks', 'settings/admin/tipstricks',
[ [
'databaseOverload' => true, 'databaseOverload' => true,
], ],
@ -71,7 +71,7 @@ class TipsTrickTest extends TestCase {
$expected = new TemplateResponse( $expected = new TemplateResponse(
'settings', 'settings',
'admin/tipstricks', 'settings/admin/tipstricks',
[ [
'databaseOverload' => false, 'databaseOverload' => false,
], ],