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']); }
public function testGetInformation() { $api = new GetSettings(); $result = $api->exec(); $this->assertEquals('*****@*****.**', $result['notification_emails']); }