… and their tests needed adjustments, too
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
005ef115fb
commit
010a3c09f2
|
@ -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',
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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(),
|
||||||
|
|
|
@ -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',
|
||||||
|
|
|
@ -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,
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue