1
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user