Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2021-04-06 17:55:22 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-04-19 14:10:27 +0300
commit28ea91bf6b15e098c158bd68ff4435334db00849 (patch)
tree5dea2595a40d5ee9bb56ad96978640be3c57d1eb /tests/Integration
parente39a7f9654879f6b2be2d2983ef48aab5832fca8 (diff)
Allow signatures for aliases
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/Integration')
-rw-r--r--tests/Integration/Db/AliasMapperTest.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/Integration/Db/AliasMapperTest.php b/tests/Integration/Db/AliasMapperTest.php
index ed79edf1e..96be70a0d 100644
--- a/tests/Integration/Db/AliasMapperTest.php
+++ b/tests/Integration/Db/AliasMapperTest.php
@@ -77,6 +77,7 @@ class AliasMapperTest extends TestCase {
$this->alias->setAccountId($a->getId());
$this->alias->setAlias('alias@marvel.com');
$this->alias->setName('alias');
+ $this->alias->setSignature('Kind regards<br>Alias');
/** @var Alias $b */
$b = $this->mapper->insert($this->alias);
@@ -87,12 +88,14 @@ class AliasMapperTest extends TestCase {
'accountId' => $this->alias->getAccountId(),
'name' => $this->alias->getName(),
'alias' => $this->alias->getAlias(),
- 'id' => $this->alias->getId()
+ 'id' => $this->alias->getId(),
+ 'signature' => $this->alias->getSignature(),
], [
'accountId' => $result->getAccountId(),
'name' => $result->getName(),
'alias' => $result->getAlias(),
- 'id' => $result->getId()
+ 'id' => $result->getId(),
+ 'signature' => $this->alias->getSignature(),
]
);
}