From 1cb7d943ec9b7fffeb3ac1521e4edb51bf7aafce Mon Sep 17 00:00:00 2001 From: Taras Machyshyn Date: Mon, 12 Nov 2018 12:15:50 +0200 Subject: [PATCH] Test fixes --- tests/integration/Core/Tester.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/integration/Core/Tester.php b/tests/integration/Core/Tester.php index dd2373ae49..c5bdf3b72a 100644 --- a/tests/integration/Core/Tester.php +++ b/tests/integration/Core/Tester.php @@ -127,11 +127,7 @@ class Tester if (isset($this->userName)) { $this->password = isset($this->password) ? $this->password : $this->defaultUserPassword; - - $isAuthenticated = $auth->login($this->userName, $this->password); - if (!$isAuthenticated) { - $auth->useNoAuth(); - } + $auth->login($this->userName, $this->password); } else { $auth->useNoAuth(); }