初始化
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user