Skip to content

Commit

Permalink
Removed unused variable #9360 (#9364)
Browse files Browse the repository at this point in the history
  • Loading branch information
achhetr authored Apr 1, 2021
1 parent 6f987bb commit 444a0e0
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit 444a0e0

Please sign in to comment.