test fixes and changes for release

This commit is contained in:
Dennis Eichhorn 2022-12-25 00:06:17 +01:00
parent 77360c828e
commit 737e1b294c
3 changed files with 45 additions and 0 deletions

View File

@ -412,6 +412,20 @@ class Event
return $this->attributes;
}
/**
* Get relations to the promotions.
*
* This includes customers, partners, ...
*
* @return array
*
* @since 1.0.0
*/
public function getRelations() : array
{
return $this->accountRelations;
}
/**
* {@inheritdoc}
*/

View File

@ -147,6 +147,18 @@ class EventAttributeType implements \JsonSerializable
$this->fields = $fields;
}
/**
* Get default values
*
* @return array
*
* @sicne 1.0.0
*/
public function getDefaults() : array
{
return $this->defaults;
}
/**
* {@inheritdoc}
*/

View File

@ -257,6 +257,25 @@ $CONFIG = [
'root' => '/',
'https' => false,
],
'app' => [
'path' => __DIR__,
'default' => [
'app' => 'Backend',
'id' => 'backend',
'lang' => 'en',
'theme' => 'Backend',
'org' => 1,
],
'domains' => [
'127.0.0.1' => [
'app' => 'Backend',
'id' => 'backend',
'lang' => 'en',
'theme' => 'Backend',
'org' => 1,
],
],
],
'socket' => [
'master' => [
'host' => '127.0.0.1',