From 77b6e4e217ba7b8598f5eb0d4783675444b82a04 Mon Sep 17 00:00:00 2001 From: Dhriti Shikhar Date: Wed, 10 Oct 2018 17:32:31 +0530 Subject: [PATCH] removes unnecessary code --- controller/workitem_blackbox_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/workitem_blackbox_test.go b/controller/workitem_blackbox_test.go index 78bb612914..e3e8f9f039 100644 --- a/controller/workitem_blackbox_test.go +++ b/controller/workitem_blackbox_test.go @@ -3393,7 +3393,7 @@ func (s *WorkItem2Suite) TestDeleteWorkitem() { test.DeleteWorkitemOK(s.T(), s.svc.Context, s.svc, s.workitemCtrl, fxt.WorkItems[0].ID) }) t.Run("unauthorized", func(t *testing.T) { - fxt := tf.NewTestFixture(s.T(), s.DB, tf.WorkItems(1), tf.Identities(1)) + fxt := tf.NewTestFixture(s.T(), s.DB, tf.WorkItems(1)) svcNotAuthorized := goa.New("TestDeleteWI2-Service") workitemCtrlNotAuthorized := NewWorkitemController(svcNotAuthorized, s.GormDB, s.Configuration) test.DeleteWorkitemUnauthorized(s.T(), svcNotAuthorized.Context, svcNotAuthorized, workitemCtrlNotAuthorized, fxt.WorkItems[0].ID)