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
path: root/tests
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2022-04-28 01:21:26 +0300
committerAnna Larch <anna@nextcloud.com>2022-04-28 01:21:26 +0300
commit7000208236c2c0421709115e9c2a7fc0509cef0d (patch)
treecf2d4d33ed3554b4de0adf2560aef8706d3c67dc /tests
parent48b0dc340a17201c22c121b88d5df0863acccfd1 (diff)
Check account for currentness before reprovisioning it
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/Unit/Service/Provisioning/ManagerTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Unit/Service/Provisioning/ManagerTest.php b/tests/Unit/Service/Provisioning/ManagerTest.php
index 3b36f9839..1340a9691 100644
--- a/tests/Unit/Service/Provisioning/ManagerTest.php
+++ b/tests/Unit/Service/Provisioning/ManagerTest.php
@@ -68,6 +68,7 @@ class ManagerTest extends TestCase {
$config->setEmailTemplate('%USER%@batman.com');
$configs = [$config];
$account = new MailAccount();
+ $account->setProvisioningId(2);
$this->mock->getParameter('mailAccountMapper')
->expects($this->once())
->method('findProvisionedAccount')