Remove deprecated settings.

This commit is contained in:
James Cole
2016-12-28 10:16:20 +01:00
parent 001ef4fe1c
commit 49758c4e72
7 changed files with 0 additions and 70 deletions

View File

@@ -50,13 +50,6 @@ class ConfigurationControllerTest extends TestCase
FireflyConfig::shouldReceive('get')->withArgs(['must_confirm_account', false])->once()->andReturn($falseConfig);
FireflyConfig::shouldReceive('get')->withArgs(['is_demo_site', false])->times(2)->andReturn($falseConfig);
// new settings:
FireflyConfig::shouldReceive('get')->withArgs(['mail_for_lockout', false])->once()->andReturn($falseConfig);
FireflyConfig::shouldReceive('get')->withArgs(['mail_for_blocked_domain', false])->once()->andReturn($falseConfig);
FireflyConfig::shouldReceive('get')->withArgs(['mail_for_blocked_email', false])->once()->andReturn($falseConfig);
FireflyConfig::shouldReceive('get')->withArgs(['mail_for_bad_login', false])->once()->andReturn($falseConfig);
FireflyConfig::shouldReceive('get')->withArgs(['mail_for_blocked_login', false])->once()->andReturn($falseConfig);
$this->call('GET', route('admin.configuration.index'));
$this->assertResponseStatus(200);
@@ -76,11 +69,6 @@ class ConfigurationControllerTest extends TestCase
FireflyConfig::shouldReceive('set')->withArgs(['single_user_mode', false])->once();
FireflyConfig::shouldReceive('set')->withArgs(['must_confirm_account', false])->once();
FireflyConfig::shouldReceive('set')->withArgs(['is_demo_site', false])->once();
FireflyConfig::shouldReceive('set')->withArgs(['mail_for_lockout', false])->once();
FireflyConfig::shouldReceive('set')->withArgs(['mail_for_blocked_domain', false])->once();
FireflyConfig::shouldReceive('set')->withArgs(['mail_for_blocked_email', false])->once();
FireflyConfig::shouldReceive('set')->withArgs(['mail_for_bad_login', false])->once();
FireflyConfig::shouldReceive('set')->withArgs(['mail_for_blocked_login', false])->once();
$this->be($this->user());
$this->call('POST', route('admin.configuration.index.post'));