aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/lib/Mail/MailerTest.php2
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';
}