func (s *WorkItem2Suite) TestWI2FailCreateWorkItemWithDescriptionAndUnsupportedMarkup() {
	// given
	c := minimumRequiredCreatePayload()
	c.Data.Attributes[workitem.SystemTitle] = "Title"
	c.Data.Attributes[workitem.SystemState] = workitem.SystemStateNew
	c.Data.Attributes[workitem.SystemDescription] = rendering.NewMarkupContent("Description", "foo")
	c.Data.Relationships.BaseType = newRelationBaseType(space.SystemSpace, workitem.SystemBug)

	// when/then
	test.CreateWorkitemBadRequest(s.T(), s.svc.Context, s.svc, s.wi2Ctrl, c.Data.Relationships.Space.Data.ID.String(), &c)
}
// TestWI2SuccessCreateWorkItemWithDescription verifies that the `workitem.SystemDescription` attribute is set, as well as its pair workitem.SystemDescriptionMarkup when the work item description is provided
TestWI2SuccessCreateWorkItemWithDescription verifies that the `workitem.SystemDescription` attribute is set, as well as its pair workitem.SystemDescriptionMarkup when the work item description is provided
// TestWI2SuccessCreateWorkItemWithDescription verifies that the ` workitem . SystemDescription ` attribute is set as well as its pair workitem . SystemDescriptionMarkup when the work item description is provided
func (s *WorkItem2Suite) TestWI2FailCreateWorkItemWithDescriptionAndUnsupportedMarkup() {
	c := minimumRequiredCreatePayload()
	c.Data.Attributes[workitem.SystemTitle] = "Title"
	c.Data.Attributes[workitem.SystemState] = workitem.SystemStateNew
	c.Data.Attributes[workitem.SystemDescription] = rendering.NewMarkupContent("Description", "foo")
	c.Data.Relationships.BaseType = newRelationBaseType(space.SystemSpace, workitem.SystemBug)
	test.CreateWorkitemBadRequest(s.T(), s.svc.Context, s.svc, s.wi2Ctrl, c.Data.Relationships.Space.Data.ID.String(), &c)
}
func ( s * WorkItem2Suite ) TestWI2FailCreateWorkItemWithDescriptionAndUnsupportedMarkup ( ) { c := minimumRequiredCreatePayload ( ) c . Data . Attributes [ workitem . SystemTitle ] = " " c . Data . Attributes [ workitem . SystemState ] = workitem . SystemStateNew c . Data . Attributes [ workitem . SystemDescription ] = rendering . NewMarkupContent ( " " , " " ) c . Data . Relationships . BaseType = newRelationBaseType ( space . SystemSpace , workitem . SystemBug ) test . CreateWorkitemBadRequest ( s . T ( ) , s . svc . Context , s . svc , s . wi2Ctrl , c . Data . Relationships . Space . Data . ID . String ( ) , & c ) }
TestWI2SuccessCreateWorkItemWithDescription verifies that the `workitem.SystemDescription` attribute is set, as well as its pair workitem.SystemDescriptionMarkup when the work item description is provided
TestWI2SuccessCreateWorkItemWithDescription verifies that the ` workitem . SystemDescription ` attribute is set as well as its pair workitem . SystemDescriptionMarkup when the work item description is provided
// given // when/then