From 7c5f7534e1457bb50f8afec52a9179159ec59226 Mon Sep 17 00:00:00 2001
From: Guillaume28 <Guillaume28@users.noreply.github.com>
Date: Tue, 29 May 2018 11:40:28 +0200
Subject: [PATCH] fix(feature): Add Login/Logout otherwise wrong UTC (#6316)

---
 features/bootstrap/DowntimeStartAndStopContext.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/features/bootstrap/DowntimeStartAndStopContext.php b/features/bootstrap/DowntimeStartAndStopContext.php
index d6c07e6939..d4ae7ea294 100644
--- a/features/bootstrap/DowntimeStartAndStopContext.php
+++ b/features/bootstrap/DowntimeStartAndStopContext.php
@@ -241,6 +241,8 @@ class DowntimeStartAndStopContext extends CentreonContext
             'location' => $this->timezoneUser
         ));
         $user->save();
+        $this->iAmLoggedOut();
+        $this->iAmLoggedIn();
         $this->reloadAllPollers();
 
         //downtime
-- 
GitLab