This commit is contained in:
邹宗楠
2022-08-25 18:08:33 +08:00
parent 6f1301fa24
commit 9b79260f74
5 changed files with 21 additions and 10 deletions

View File

@@ -36,7 +36,7 @@ func TestPrintMsg(t *testing.T) {
}
func TestRegisterPrinter(t *testing.T) {
newID1, newID2, err := CurPrinterHandler.RegisterPrinter(jxcontext.AdminCtx, "7JizmSyiXNzkggaqU", "", "title")
newID1, newID2, err := CurPrinterHandler.RegisterPrinter(jxcontext.AdminCtx, "7JizmSyiXNzkggaqU", "", "title", 0)
t.Log(newID1 + "," + newID2)
if err != nil {
t.Fatal(err)