/** * @test * @group library * @expectedException \Cms\Exception * @expectedExceptionCode 2007 */ public function instanceModuleQuotaDisallowsFtpLogin() { $username = '******'; $password = '******'; $this->updateConfigModuleEnableDev(false); $this->business->checkFtpLogin($username, $password); }
/** * @test * @group library * @expectedException \Cms\Exception * @expectedExceptionCode 2007 */ public function userHasNoFtpAccess() { $username = '******'; $password = '******'; $this->business->checkFtpLogin($username, $password); }