Test: newly added sb models

This commit is contained in:
HFO4
2021-11-09 19:29:56 +08:00
parent 3064ed60f3
commit eeee43d569
5 changed files with 31 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ func TestNode_BeforeSave(t *testing.T) {
node.Aria2OptionsSerialized.Timeout = 1
a.NoError(node.BeforeSave())
a.Contains("1", node.Aria2Options)
a.Contains(node.Aria2Options, "1")
}
func TestNode_SetStatus(t *testing.T) {