Test: new changes in 3.4.0

This commit is contained in:
HFO4
2021-11-20 16:59:29 +08:00
parent 532bff820a
commit 9056ef9171
6 changed files with 112 additions and 5 deletions

View File

@@ -190,7 +190,7 @@ func TestHandler_Source(t *testing.T) {
// 设定了CDN解析失败
{
handler.Policy.BaseURL = string(0x7f)
handler.Policy.BaseURL = string([]byte{0x7f})
file := model.File{
Model: gorm.Model{
ID: 1,