// This test case will check authorized access to Create/Update/Delete APIs
This test case will check authorized access to Create/Update/Delete APIs
// This test case will check authorized access to Create / Update / Delete APIs
func (s *WorkItemSuite) TestUnauthorizeWorkItemCUD() {
	UnauthorizeCreateUpdateDeleteTest(s.T(), getWorkItemTestDataFunc(*s.Configuration), func() *goa.Service {
		return goa.New("TestUnauthorizedCreateWI-Service")
	}, func(service *goa.Service) error {
		controller := NewWorkitemController(service, gormapplication.NewGormDB(s.DB), s.Configuration)
		app.MountWorkitemController(service, controller)
		return nil
	})
}
func ( s * WorkItemSuite ) TestUnauthorizeWorkItemCUD ( ) { UnauthorizeCreateUpdateDeleteTest ( s . T ( ) , getWorkItemTestDataFunc ( * s . Configuration ) , func ( ) * goa . Service { return goa . New ( " " ) } , func ( service * goa . Service ) error { controller := NewWorkitemController ( service , gormapplication . NewGormDB ( s . DB ) , s . Configuration ) app . MountWorkitemController ( service , controller ) return nil } ) }
This test case will check authorized access to Create/Update/Delete APIs
This test case will check authorized access to Create / Update / Delete APIs