summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.rubocop_todo.yml1
-rw-r--r--test/integration/api_test/my_test.rb2
2 files changed, 0 insertions, 3 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 2fcf2dc57..a64d14241 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -189,7 +189,6 @@ Layout/EmptyLinesAroundBlockBody:
Exclude:
- 'db/schema.rb'
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
- - 'test/integration/api_test/my_test.rb'
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
diff --git a/test/integration/api_test/my_test.rb b/test/integration/api_test/my_test.rb
index 8ea98ad6e..8c70ea9a4 100644
--- a/test/integration/api_test/my_test.rb
+++ b/test/integration/api_test/my_test.rb
@@ -63,13 +63,11 @@ class Redmine::ApiTest::MyTest < Redmine::ApiTest::Base
:headers => credentials('dlopper', 'foo')
assert_response :no_content
assert_equal '', @response.body
-
assert user = User.find_by_lastname('Renamed')
assert_equal 'Dave', user.firstname
assert_equal 'Renamed', user.lastname
assert_equal 'dave@somenet.foo', user.mail
refute user.admin?
-
end
test "PUT /my/account.xml with invalid parameters" do