Fix: failed test due to relative path

This commit is contained in:
HFO4
2020-03-12 09:15:30 +08:00
parent 83b292c9ba
commit 37de715541
9 changed files with 17 additions and 30 deletions

View File

@@ -61,7 +61,6 @@ func TestBuildShareResponse(t *testing.T) {
asserts.False(res.Locked)
asserts.NotEmpty(res.Expire)
asserts.NotNil(res.Creator)
asserts.NotNil(res.Score)
}
// 已解锁,是目录
@@ -81,6 +80,5 @@ func TestBuildShareResponse(t *testing.T) {
asserts.False(res.Locked)
asserts.NotEmpty(res.Expire)
asserts.NotNil(res.Creator)
asserts.NotNil(res.Score)
}
}