23 lines
544 B
Go
23 lines
544 B
Go
package service
|
|
|
|
import (
|
|
"sync"
|
|
"testing"
|
|
|
|
"gorm.io/gorm/schema"
|
|
)
|
|
|
|
func TestAnalysisModelConfigIgnoresComputedPricing(t *testing.T) {
|
|
_, err := schema.Parse(&analysisModelConfig{}, &sync.Map{}, schema.NamingStrategy{})
|
|
if err != nil {
|
|
t.Fatalf("parse analysis model config: %v", err)
|
|
}
|
|
}
|
|
|
|
func TestScriptAnalysisModelConfigIgnoresComputedPricing(t *testing.T) {
|
|
_, err := schema.Parse(&scriptAnalysisModelConfig{}, &sync.Map{}, schema.NamingStrategy{})
|
|
if err != nil {
|
|
t.Fatalf("parse script analysis model config: %v", err)
|
|
}
|
|
}
|