diff options
author | Bennet Becker <dev@bennet.cc> | 2023-01-03 15:28:43 +0100 |
---|---|---|
committer | Bennet Becker <dev@bennet.cc> | 2023-01-03 15:28:43 +0100 |
commit | 5a1cc8de9b13298d28afd6f1f1be02fafe2428b0 (patch) | |
tree | f87bd0d57e4fd67777edabefd7744e561b78c2dc /apps/settings/tests | |
parent | bd846df6991dc827140c30105a6aecc34520cee3 (diff) | |
download | nextcloud-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.php | 4 |
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') |