diff --git a/test/functional/todos_controller_test.rb b/test/functional/todos_controller_test.rb
index cc02dbac..6a203251 100644
--- a/test/functional/todos_controller_test.rb
+++ b/test/functional/todos_controller_test.rb
@@ -88,26 +88,6 @@ class TodosControllerTest < ActionController::TestCase
end
end
- def test_create_todo_via_xml_show_from
- login_as(:admin_user)
-
- assert_difference 'Todo.count' do
- xml = "Call Warren Buffet to find out how much he makes per day#{projects(:timemachine).id}#{contexts(:agenda).id}#{1.week.from_now.xmlschema}"
-
- # p parse_xml_body(xml)
- post :create, parse_xml_body(xml).update(:format => "xml")
- assert_response :created
- end
- end
-
- def parse_xml_body(body)
- env = { 'rack.input' => StringIO.new(body),
- 'HTTP_X_POST_DATA_FORMAT' => 'xml',
- 'CONTENT_LENGTH' => body.size.to_s }
- ActionController::RackRequest.new(env).request_parameters
- end
-
-
def test_fail_to_create_todo_via_xml
login_as(:admin_user)
# #try to create with no context, which is not valid
diff --git a/test/integration/context_xml_api_test.rb b/test/integration/context_xml_api_test.rb
index 6497566d..e95dbb75 100644
--- a/test/integration/context_xml_api_test.rb
+++ b/test/integration/context_xml_api_test.rb
@@ -13,12 +13,7 @@ class ContextXmlApiTest < ActionController::IntegrationTest
def setup
assert_test_environment_ok
end
-
- def test_fails_with_401_if_not_authorized_user
- authenticated_post_xml_to_context_create @@valid_postdata, 'nobody', 'nohow'
- assert_401_unauthorized
- end
-
+
def test_fails_with_invalid_xml_format
# Fails too hard for test to catch
# authenticated_post_xml_to_context_create ""
diff --git a/test/integration/project_xml_api_test.rb b/test/integration/project_xml_api_test.rb
index e2bc367d..df640f17 100644
--- a/test/integration/project_xml_api_test.rb
+++ b/test/integration/project_xml_api_test.rb
@@ -13,12 +13,7 @@ class ProjectXmlApiTest < ActionController::IntegrationTest
def setup
assert_test_environment_ok
end
-
- def test_fails_with_401_if_not_authorized_user
- authenticated_post_xml_to_project_create @@valid_postdata, 'nobody', 'nohow'
- assert_401_unauthorized
- end
-
+
def test_fails_with_invalid_xml_format
#Fails too hard for test to catch
# authenticated_post_xml_to_project_create ""