Skip to content
Snippets Groups Projects
initialise_test.go 404 B
Newer Older
  • Learn to ignore specific revisions
  • Manuel Kieweg's avatar
    Manuel Kieweg committed
    package pnd
    
    import (
    	"github.com/google/uuid"
    	log "github.com/sirupsen/logrus"
    	"os"
    	"testing"
    )
    
    // UUIDs for test cases
    var changeUUID uuid.UUID
    var did uuid.UUID
    
    func TestMain(m *testing.M) {
    	var err error
    	changeUUID, err = uuid.Parse("cfbb96cd-ecad-45d1-bebf-1851760f5087")
    	did, err = uuid.Parse("4d8246f8-e884-41d6-87f5-c2c784df9e44")
    	if err != nil {
    		log.Fatal(err)
    	}
    	os.Exit(m.Run())
    }