Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Commit

Permalink
removes unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
DhritiShikhar committed Oct 10, 2018
1 parent 115d334 commit 77b6e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/workitem_blackbox_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 77b6e4e

Please sign in to comment.