From 9420a3bf383e2222006f384ecad12fa394fc7e03 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Sat, 5 Jul 2025 04:44:31 +0300 Subject: [PATCH] Remove incorrect node update test The comments for this tests are contradictory, speaking of both "public user" and "without auth". The test however does neither and reuses the previous auth_header of a private user. --- test/controllers/api/nodes_controller_test.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/controllers/api/nodes_controller_test.rb b/test/controllers/api/nodes_controller_test.rb index 523498216..961a63e09 100644 --- a/test/controllers/api/nodes_controller_test.rb +++ b/test/controllers/api/nodes_controller_test.rb @@ -407,12 +407,6 @@ module Api ## Finally test with the public user - # try and update a node without authorisation - # first try to update node without auth - xml = xml_for_node(node) - put api_node_path(node), :params => xml.to_s, :headers => auth_header - assert_response :forbidden - # setup auth auth_header = bearer_authorization_header user -- 2.39.5