Răsfoiți Sursa

Add test for Status Schedule of All controllers

Paul Molluzzo 9 ani în urmă
părinte
comite
94fae4e627
1 a modificat fișierele cu 10 adăugiri și 0 ștergeri
  1. 10 0
      test/index.js

+ 10 - 0
test/index.js

@@ -20,3 +20,13 @@ test('Status Schedule', t => {
     t.pass();
   });
 });
+
+test('Status Schedule All', t => {
+  return hydrawise.statusschedule('hydrawise_all').then(data => {
+    console.log(data);
+    if (data.error_msg) {
+      t.fail(`Error: ${data.error_msg}`);
+    }
+    t.pass();
+  });
+});