diff --git a/test/integration/helper.js b/test/integration/helper.js
index <HASH>..<HASH> 100644
--- a/test/integration/helper.js
+++ b/test/integration/helper.js
@@ -101,11 +101,13 @@ exports.setLib = function(context) {
         // Mutate the bindings arrays to not check dates.
         if (item === 'bindings') {
           parseBindingDates(newData, localData);
-        } if (item === 'result') {
+        }
+
+        if (item === 'result') {
           parseResultDates(newData, localData);
         }
 
-        expect(localData).to.eql(newData);
+        expect(newData).to.eql(localData);
       });
Reverse expect for console output to be correct