Merge branch 'master' of git.icinga.org:icingaweb2
This commit is contained in:
commit
32f657bc01
|
@ -51,7 +51,7 @@ class AuthenticationBackendReorderForm extends ConfigForm
|
|||
|
||||
try {
|
||||
if ($configForm->move($backendName, $position)->save()) {
|
||||
Notification::success($this->translate('Authentication order updated!'));
|
||||
Notification::success($this->translate('Authentication order updated'));
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -199,8 +199,8 @@ msgid "Authentication backend name missing"
|
|||
msgstr "Nome del Backend di autenticazione non specificato"
|
||||
|
||||
#: /usr/share/icingaweb2/application/forms/Config/AuthenticationBackendReorderForm.php:54
|
||||
msgid "Authentication order updated!"
|
||||
msgstr "Ordine di autenticazione aggiornato!"
|
||||
msgid "Authentication order updated"
|
||||
msgstr "Ordine di autenticazione aggiornato"
|
||||
|
||||
#: /usr/share/icingaweb2/application/forms/AutoRefreshForm.php:44
|
||||
msgid "Auto refresh successfully disabled"
|
||||
|
|
|
@ -130,8 +130,8 @@ msgid "Authentication backend name missing"
|
|||
msgstr "Falta o nome do backend de autenticação"
|
||||
|
||||
#: /usr/local/icingaweb/application/forms/Config/AuthenticationBackendReorderForm.php:55
|
||||
msgid "Authentication order updated!"
|
||||
msgstr "Ordem da autenticação atualizada!"
|
||||
msgid "Authentication order updated"
|
||||
msgstr "Ordem da autenticação atualizada"
|
||||
|
||||
#: /usr/local/icingaweb/application/forms/Config/AuthenticationBackendConfigForm.php:307
|
||||
msgid "Autologin"
|
||||
|
|
|
@ -32,7 +32,6 @@ p.pluginoutput {
|
|||
}
|
||||
|
||||
div.pluginoutput {
|
||||
border-right: solid 5px @colorPetrol;
|
||||
overflow: auto;
|
||||
color: black;
|
||||
margin-bottom: 1em;
|
||||
|
|
|
@ -31,7 +31,8 @@ class DbBackendFormTest extends BaseTestCase
|
|||
->shouldReceive('count')
|
||||
->andReturn(2);
|
||||
|
||||
$form = Mockery::mock('Icinga\Forms\Config\Authentication\DbBackendForm[getView]');
|
||||
// Passing array(null) is required to make Mockery call the constructor...
|
||||
$form = Mockery::mock('Icinga\Forms\Config\Authentication\DbBackendForm[getView]', array(null));
|
||||
$form->shouldReceive('getView->escape')
|
||||
->with(Mockery::type('string'))
|
||||
->andReturnUsing(function ($s) { return $s; });
|
||||
|
@ -56,7 +57,8 @@ class DbBackendFormTest extends BaseTestCase
|
|||
->shouldReceive('count')
|
||||
->andReturn(0);
|
||||
|
||||
$form = Mockery::mock('Icinga\Forms\Config\Authentication\DbBackendForm[getView]');
|
||||
// Passing array(null) is required to make Mockery call the constructor...
|
||||
$form = Mockery::mock('Icinga\Forms\Config\Authentication\DbBackendForm[getView]', array(null));
|
||||
$form->shouldReceive('getView->escape')
|
||||
->with(Mockery::type('string'))
|
||||
->andReturnUsing(function ($s) { return $s; });
|
||||
|
|
|
@ -31,7 +31,8 @@ class LdapBackendFormTest extends BaseTestCase
|
|||
Mockery::mock('overload:Icinga\Authentication\Backend\LdapUserBackend')
|
||||
->shouldReceive('assertAuthenticationPossible')->andReturnNull();
|
||||
|
||||
$form = Mockery::mock('Icinga\Forms\Config\Authentication\LdapBackendForm[getView]');
|
||||
// Passing array(null) is required to make Mockery call the constructor...
|
||||
$form = Mockery::mock('Icinga\Forms\Config\Authentication\LdapBackendForm[getView]', array(null));
|
||||
$form->shouldReceive('getView->escape')
|
||||
->with(Mockery::type('string'))
|
||||
->andReturnUsing(function ($s) { return $s; });
|
||||
|
@ -55,7 +56,8 @@ class LdapBackendFormTest extends BaseTestCase
|
|||
Mockery::mock('overload:Icinga\Authentication\Backend\LdapUserBackend')
|
||||
->shouldReceive('assertAuthenticationPossible')->andThrow(new AuthenticationException);
|
||||
|
||||
$form = Mockery::mock('Icinga\Forms\Config\Authentication\LdapBackendForm[getView]');
|
||||
// Passing array(null) is required to make Mockery call the constructor...
|
||||
$form = Mockery::mock('Icinga\Forms\Config\Authentication\LdapBackendForm[getView]', array(null));
|
||||
$form->shouldReceive('getView->escape')
|
||||
->with(Mockery::type('string'))
|
||||
->andReturnUsing(function ($s) { return $s; });
|
||||
|
|
|
@ -29,7 +29,8 @@ class LdapResourceFormTest extends BaseTestCase
|
|||
Mockery::mock()->shouldReceive('testCredentials')->once()->andReturn(true)->getMock()
|
||||
);
|
||||
|
||||
$form = Mockery::mock('Icinga\Forms\Config\Resource\LdapResourceForm[getView]');
|
||||
// Passing array(null) is required to make Mockery call the constructor...
|
||||
$form = Mockery::mock('Icinga\Forms\Config\Resource\LdapResourceForm[getView]', array(null));
|
||||
$form->shouldReceive('getView->escape')
|
||||
->with(Mockery::type('string'))
|
||||
->andReturnUsing(function ($s) { return $s; });
|
||||
|
@ -51,7 +52,8 @@ class LdapResourceFormTest extends BaseTestCase
|
|||
Mockery::mock()->shouldReceive('testCredentials')->once()->andThrow('\Exception')->getMock()
|
||||
);
|
||||
|
||||
$form = Mockery::mock('Icinga\Forms\Config\Resource\LdapResourceForm[getView]');
|
||||
// Passing array(null) is required to make Mockery call the constructor...
|
||||
$form = Mockery::mock('Icinga\Forms\Config\Resource\LdapResourceForm[getView]', array(null));
|
||||
$form->shouldReceive('getView->escape')
|
||||
->with(Mockery::type('string'))
|
||||
->andReturnUsing(function ($s) { return $s; });
|
||||
|
|
Loading…
Reference in New Issue