diff options
author | Josh <josh.t.richards@gmail.com> | 2024-07-12 19:11:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-12 19:11:02 -0400 |
commit | 5b8a98a83bf02ce58fba021ed8c8c871cfe6363b (patch) | |
tree | e30b6ca75878aca06c8ed5ef7cac415cadb33535 | |
parent | 22e24b9a1ae589d4088506e7921740aa0aff237b (diff) | |
download | nextcloud-server-jtr/test-binaryfinder.tar.gz nextcloud-server-jtr/test-binaryfinder.zip |
Update MailerTest.phpjtr/test-binaryfinder
Signed-off-by: Josh <josh.t.richards@gmail.com>
-rw-r--r-- | tests/lib/Mail/MailerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Mail/MailerTest.php b/tests/lib/Mail/MailerTest.php index 75f88c058b5..75ff5227634 100644 --- a/tests/lib/Mail/MailerTest.php +++ b/tests/lib/Mail/MailerTest.php @@ -86,7 +86,7 @@ class MailerTest extends TestCase { ['mail_sendmailmode', 'smtp', $sendmailMode], ]); - $path = \OCP\Server::get(IBinaryFinder::class)->findBinaryPath('sendmail'); + $path = \IBinaryFinder::findBinaryPath('sendmail'); if ($path === false) { $path = '/usr/sbin/sendmail'; } |