display history of topic updates on topic details page
[websub-hub] / test / src / db / base.js
index 786365722b13880f698b4f46184b3d4f3749bda2..74e58349159aecb7ce05f8210fe83d51e847b2bd 100644 (file)
@@ -173,13 +173,13 @@ describe('DatabaseBase', function () {
       db._topicSetDataValidate(data);
     });
     it('covers invalid value', function () {
-     data.leaseSecondsPreferred = -100;
-     try {
-       db._topicSetDataValidate(data);
-       assert.fail('did not get expected exception');
-     } catch (e) {
-       assert(e instanceof DBErrors.DataValidation);
-     }
+      data.leaseSecondsPreferred = -100;
+      try {
+        db._topicSetDataValidate(data);
+        assert.fail('did not get expected exception');
+      } catch (e) {
+        assert(e instanceof DBErrors.DataValidation);
+      }
     });
     it('covers invalid range', function () {
       data.leaseSecondsPreferred = 10000;