aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/tests
diff options
context:
space:
mode:
authorBennet Becker <dev@bennet.cc>2023-01-03 15:28:43 +0100
committerBennet Becker <dev@bennet.cc>2023-01-03 15:28:43 +0100
commit5a1cc8de9b13298d28afd6f1f1be02fafe2428b0 (patch)
treef87bd0d57e4fd67777edabefd7744e561b78c2dc /apps/settings/tests
parentbd846df6991dc827140c30105a6aecc34520cee3 (diff)
downloadnextcloud-server-5a1cc8de9b13298d28afd6f1f1be02fafe2428b0.tar.gz
nextcloud-server-5a1cc8de9b13298d28afd6f1f1be02fafe2428b0.zip
update usages of AutoSubmittedValue to AutoSubmitted::VALUE_
Signed-off-by: Bennet Becker <dev@bennet.cc>
Diffstat (limited to 'apps/settings/tests')
-rw-r--r--apps/settings/tests/Mailer/NewUserMailHelperTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings/tests/Mailer/NewUserMailHelperTest.php b/apps/settings/tests/Mailer/NewUserMailHelperTest.php
index efb7ca9a29b..5c7d182d436 100644
--- a/apps/settings/tests/Mailer/NewUserMailHelperTest.php
+++ b/apps/settings/tests/Mailer/NewUserMailHelperTest.php
@@ -42,7 +42,7 @@ use OCP\IL10N;
use OCP\IURLGenerator;
use OCP\IUser;
use OCP\L10N\IFactory;
-use OCP\Mail\AutoSubmittedValue;
+use OCP\Mail\Headers\AutoSubmitted;
use OCP\Mail\IEMailTemplate;
use OCP\Mail\IMailer;
use OCP\Security\ICrypto;
@@ -871,7 +871,7 @@ EOF;
$message
->expects($this->once())
->method('setAutoSubmitted')
- ->with(AutoSubmittedValue::AUTO_GENERATED);
+ ->with(AutoSubmitted::VALUE_AUTO_GENERATED);
$this->defaults
->expects($this->once())
->method('getName')