This commit is contained in:
邹宗楠
2023-03-02 15:10:45 +08:00
parent 66019fac4b
commit 200c2aa7b0
2 changed files with 2 additions and 5 deletions

View File

@@ -33,7 +33,7 @@ func TestAddPrinter(t *testing.T) {
}
func TestDelPrinter(t *testing.T) {
err := api.DelPrinter([]string{"20210615000012"})
err := api.DelPrinter([]string{"20210615000012"}, "")
if err != nil {
t.Fatalf("PrintMsg return error:%v", err)
}
@@ -67,7 +67,7 @@ func TestGetPrintMsg(t *testing.T) {
}
func TestGetPrinterStatus(t *testing.T) {
result, err := api.GetPrinterStatus("20210615000010")
result, err := api.GetPrinterStatus("120220915001012")
if err != nil {
t.Fatal(err)
}