Forráskód Böngészése

Add test for Status Schedule of All controllers

Paul Molluzzo 9 éve
szülő
commit
94fae4e627
1 módosított fájl, 10 hozzáadás és 0 törlés
  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();
+  });
+});