test(storage): 使用进程内 DNS 夹具消除离线测试依赖 (#689)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c7aeba24d7
commit
b2791a7416
5 files changed
+112
-1
No files matched your search
@@ -10,6 +10,7 @@ import (
|
||||
"testing"
|
||||
|
||||
"infinite-canvas/backend/internal/model"
|
||||
"infinite-canvas/backend/internal/outbound/outboundtest"
|
||||
"infinite-canvas/backend/internal/repository"
|
||||
|
||||
"gorm.io/driver/sqlite"
|
||||
@@ -470,6 +471,7 @@ func TestNormalizeAdminChannelModelDeleteIDsRequiresBoundedSelection(t *testing.
|
||||
}
|
||||
|
||||
func TestResolveProviderConfigMapsSKUToProviderModel(t *testing.T) {
|
||||
outboundtest.PublicDNS(t, "ark.cn-beijing.volces.com")
|
||||
svc, db := newChannelModelTestService(t)
|
||||
svc.dataDir = t.TempDir()
|
||||
channel := model.ModelChannel{
|
||||
|
||||
Reference in new issue
Block a user