You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by rz...@apache.org on 2015/12/18 19:58:04 UTC

ambari git commit: AMBARI-14429. Ambari Web Unit Test failures on trunk (rzang)

Repository: ambari
Updated Branches:
  refs/heads/trunk 232522483 -> 32e86548c


AMBARI-14429. Ambari Web Unit Test failures on trunk (rzang)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/32e86548
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/32e86548
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/32e86548

Branch: refs/heads/trunk
Commit: 32e86548cb69b244f11ba08e927cdda2f96f9331
Parents: 2325224
Author: Richard Zang <rz...@apache.org>
Authored: Fri Dec 18 10:56:58 2015 -0800
Committer: Richard Zang <rz...@apache.org>
Committed: Fri Dec 18 10:56:58 2015 -0800

----------------------------------------------------------------------
 ambari-web/test/models/configs/service_config_version_test.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/32e86548/ambari-web/test/models/configs/service_config_version_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/models/configs/service_config_version_test.js b/ambari-web/test/models/configs/service_config_version_test.js
index 06cf915..a447d6b 100644
--- a/ambari-web/test/models/configs/service_config_version_test.js
+++ b/ambari-web/test/models/configs/service_config_version_test.js
@@ -138,7 +138,8 @@ describe('App.ServiceConfigVersion', function () {
 
     it("should return created date", function() {
       model.set('createTime', 1450267588961);
-      expect(model.get('createdDate')).to.equal('Wed, Dec 16, 2015 14:06');
+      moment.tz.setDefault('America/Los_Angeles');
+      expect(model.get('createdDate')).to.equal('Wed, Dec 16, 2015 04:06');
     });
 
   });