mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-05 17:40:24 +08:00
16 lines
282 B
Go
16 lines
282 B
Go
package models
|
|
|
|
import (
|
|
_ "github.com/go-sql-driver/mysql"
|
|
"github.com/iwind/TeaGo/logs"
|
|
"testing"
|
|
)
|
|
|
|
func TestServerDAO_ComposeServerConfig(t *testing.T) {
|
|
config, err := SharedServerDAO.ComposeServerConfig(1)
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
logs.PrintAsJSON(config, t)
|
|
}
|