Example #1
0
func (rest *TestSpaceREST) TestFailShowSpaceNotFoundBadID() {
	t := rest.T()
	resource.Require(t, resource.Database)

	svc, ctrl := rest.UnSecuredController()
	test.ShowSpaceNotFound(t, svc.Context, svc, ctrl, "asfasfsaf")
}
Example #2
0
func (rest *TestSpaceREST) TestFailShowSpaceNotFound() {
	t := rest.T()
	resource.Require(t, resource.Database)

	svc, ctrl := rest.UnSecuredController()
	test.ShowSpaceNotFound(t, svc.Context, svc, ctrl, uuid.NewV4().String())
}