Beispiel #1
0
 public function testSetupEmails()
 {
     //
     $api = new GetSettings();
     $result = $api->exec();
     $this->assertEquals('dmitry@dd-team.org', $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']);
 }
Beispiel #2
0
 public function testGetInformation()
 {
     $api = new GetSettings();
     $result = $api->exec();
     $this->assertEquals('dmitry@dd-team.org', $result['notification_emails']);
 }