1
0
Prechádzať zdrojové kódy

Add test for Status Schedule of All controllers

Paul Molluzzo 9 rokov pred
rodič
commit
94fae4e627
1 zmenil súbory, kde vykonal 10 pridanie a 0 odobranie
  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();
+  });
+});