From 4c6987aa37eee868be74b71faa15c560b384074c Mon Sep 17 00:00:00 2001 From: akash chhetri Date: Wed, 24 Mar 2021 09:27:44 +1100 Subject: [PATCH] Removed unused variable #9360 --- test/functional/spam2_controller_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/functional/spam2_controller_test.rb b/test/functional/spam2_controller_test.rb index e66cdbe96c..5ffbc88c2f 100644 --- a/test/functional/spam2_controller_test.rb +++ b/test/functional/spam2_controller_test.rb @@ -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) @@ -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) @@ -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,