Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed Unused Variable in spam2_controller_test #9360 #9364

Merged
merged 1 commit into from
Apr 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/functional/spam2_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def teardown
test '_spam_insights should assign correct value to graph_spammed' do
UserSession.create(users(:moderator))
Node.delete_all
node1 = Node.new(uid: users(:bob).id,
Node.new(uid: users(:bob).id,
type: 'note',
title: 'node1',
status: 0)
Expand All @@ -219,7 +219,7 @@ def teardown
test '_spam_insights should assign correct value to graph_unmoderated' do
UserSession.create(users(:moderator))
Node.delete_all
node2 = Node.new(uid: users(:bob).id,
Node.new(uid: users(:bob).id,
type: 'note',
title: 'node2',
status: 4)
Expand All @@ -231,7 +231,7 @@ def teardown
test '_spam_insights should assign correct value to graph_flagged' do
UserSession.create(users(:moderator))
Node.delete_all
node3 = Node.new(uid: users(:bob).id,
Node.new(uid: users(:bob).id,
type: 'note',
title: 'node3',
status: 1,
Expand Down