Skip to content

Commit

Permalink
Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
picman committed Dec 21, 2024
1 parent a6caa75 commit 0bada5f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/unit/user_patch_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ def test_remove_dmsf_references
assert_equal 0, DmsfLink.where(user_id: id).all.size
assert_equal 0, DmsfLink.where(deleted_by_user_id: id).all.size
# TODO: Expected: 0, Actual: 1 in Easy extension
unless defined?(EasyExtensions)
assert_equal 0, DmsfLock.where(user_id: id).all.size
assert_equal 0, DmsfWorkflowStepAction.where(author_id: id).all.size
assert_equal 0, DmsfWorkflowStepAssignment.where(user_id: id).all.size
assert_equal 0, DmsfWorkflowStep.where(user_id: id).all.size
assert_equal 0, DmsfWorkflow.where(author_id: id).all.size
assert_equal 0, DmsfFolderPermission.where(object_id: id, object_type: 'User').all.size
end
return if defined?(EasyExtensions)

assert_equal 0, DmsfLock.where(user_id: id).all.size
assert_equal 0, DmsfWorkflowStepAction.where(author_id: id).all.size
assert_equal 0, DmsfWorkflowStepAssignment.where(user_id: id).all.size
assert_equal 0, DmsfWorkflowStep.where(user_id: id).all.size
assert_equal 0, DmsfWorkflow.where(author_id: id).all.size
assert_equal 0, DmsfFolderPermission.where(object_id: id, object_type: 'User').all.size
end
end

0 comments on commit 0bada5f

Please sign in to comment.