Пример #1
0
 public function testSetupEmails()
 {
     //
     $api = new GetSettings();
     $result = $api->exec();
     $this->assertEquals('*****@*****.**', $result['notification_emails']);
     $api = new SetupSettings();
     $api->setParamsData(array('notification_emails' => self::EmailFixture, 'maximumLogLength' => ''));
     $api->exec();
     //
     $api = new GetSettings();
     $result = $api->exec();
     $this->assertEquals(self::EmailFixture, $result['notification_emails']);
 }
Пример #2
0
 public function testGetInformation()
 {
     $api = new GetSettings();
     $result = $api->exec();
     $this->assertEquals('*****@*****.**', $result['notification_emails']);
 }