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

     1  package order_test
     2  
     3  import (
     4  	"testing"
     5  
     6  	"flamingo.me/flamingo-commerce/v3/order"
     7  	"flamingo.me/flamingo/v3/framework/config"
     8  )
     9  
    10  func TestModule_Configure(t *testing.T) {
    11  	if err := config.TryModules(config.Map{"commerce.order.useFakeAdapter": true}, new(order.Module)); err != nil {
    12  		t.Error(err)
    13  	}
    14  }