From 989e7409173898cb52fba24a380673cfcb0a4a49 Mon Sep 17 00:00:00 2001
From: pabois <pierreandre.boissinot@noesya.coop>
Date: Fri, 10 Feb 2023 11:25:25 +0100
Subject: [PATCH] modifiy test

---
 test/controllers/server/websites_controller_test.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/controllers/server/websites_controller_test.rb b/test/controllers/server/websites_controller_test.rb
index aad867f2b..09a0fb6cd 100644
--- a/test/controllers/server/websites_controller_test.rb
+++ b/test/controllers/server/websites_controller_test.rb
@@ -10,6 +10,6 @@ class Server::WebsitesControllerTest < ActionDispatch::IntegrationTest
 
   def test_refresh
     post(refresh_server_website_path(communication_websites(:website_with_github)))
-    assert_redirected_to(server_websites_path)
+    assert_response(:success)
   end
 end
-- 
GitLab