From 119697d3bae50beb5342981db2294ba76317349b Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Thu, 4 Oct 2018 17:57:14 +0200 Subject: [PATCH] Fix test --- lib/Monitor/TestSuite/AuthSource/Ldap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Monitor/TestSuite/AuthSource/Ldap.php b/lib/Monitor/TestSuite/AuthSource/Ldap.php index 4b557b90..4e2ec123 100644 --- a/lib/Monitor/TestSuite/AuthSource/Ldap.php +++ b/lib/Monitor/TestSuite/AuthSource/Ldap.php @@ -98,7 +98,7 @@ public function invokeTest() } } - if ($failure !== 0) { + if ($failure === 0) { // Test bind $testData = new TestData([ 'authSourceData' => $this->authSourceData,