flamingo.me/flamingo-commerce/v3@v3.11.0/customer/module_test.go (about)

     1  package customer_test
     2  
     3  import (
     4  	"testing"
     5  
     6  	"flamingo.me/flamingo/v3/framework/config"
     7  
     8  	"flamingo.me/flamingo-commerce/v3/customer"
     9  )
    10  
    11  func TestModule_Configure(t *testing.T) {
    12  	if err := config.TryModules(config.Map{
    13  		"commerce.customer.useNilCustomerAdapter": true,
    14  		"core.auth.web.debugController":           false,
    15  	}, new(customer.Module)); err != nil {
    16  		t.Error(err)
    17  	}
    18  }