You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: dal_crud_issues_compose_record_test.go
    path of file: ./repos/corteza/server/tests/dal
    
    the code of the file until where you have to start completion: package dal

import (
	"fmt"
	"net/http"
	"testing"

	"github.com/cortezaproject/corteza/server/compose/types"
	"github.com/cortezaproject/corteza/server/tests/helpers"
)

func Test_dal_crud_issues_compose_record_nok_connection(t *testing.T) {
	t.Skip("needs refactoring")

	h := newHelperT(t)
	defer h.cleanupDal()

	helpers.AllowMeDalConnectionCRUD(h)
	helpers.AllowMeModuleCRUD(h)
	helpers.AllowMeRecordCRUD(h)

	ns := h.createNamespace("test")

	connection := createConnectionFromGenerics(h.secCtx(), t, "nok_connection_connectivity.json
    
func Test_dal_crud_issues_compose_record_nok_model(t *testing.T) {
	t.Skip("needs refactoring")

	h := newHelperT(t)
	defer h.cleanupDal()

	helpers.AllowMeDalConnectionCRUD(h)
	helpers.AllowMeModuleCRUD(h)
	helpers.AllowMeRecordCRUD(h)

	ns := h.createNamespace("test")

	connection := createConnectionFromGenerics(h.secCtx(), t, "ok_connection.json")
	module := createModuleFromGenerics(h.secCtx(), t, "nok_module_sensitivity_level.json", ns.ID, &types.ModuleConfig{
		DAL: types.ModuleConfigDAL{
			ConnectionID: connection.ID,
		},
	})

	h.apiInit().
		Post(fmt.Sprintf("/compose/namespace/%d/module/%d/record/", ns.ID, module.ID)).
		Body(loadRequestFromGenerics(t, "ok_record.json")).
		Header("Accept", "application/json").
		Header("Content-Type", "application/json").
		Expect(t).
		Status(http.StatusOK).
		Assert(helpers.AssertErrorP(fmt.Sprintf("model %d has issues", module.ID))).
		End()
}