You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2017/04/18 17:15:35 UTC

[couchdb-fauxton] branch master updated: (#900) - Improve replication test resiliency

This is an automated email from the ASF dual-hosted git repository.

garren pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-fauxton.git

The following commit(s) were added to refs/heads/master by this push:
       new  2ce143a   (#900) - Improve replication test resiliency
2ce143a is described below

commit 2ce143ac91320366b20ed1139b585f9da4fb47d1
Author: Ryan Millay <rm...@us.ibm.com>
AuthorDate: Tue Apr 18 13:15:33 2017 -0400

    (#900) - Improve replication test resiliency
    
    * Blocking FauxtonAPI.session.triggerError from triggering
---
 app/addons/replication/tests/newreplicationSpec.js | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/app/addons/replication/tests/newreplicationSpec.js b/app/addons/replication/tests/newreplicationSpec.js
index 1cdb94d..fa86f80 100644
--- a/app/addons/replication/tests/newreplicationSpec.js
+++ b/app/addons/replication/tests/newreplicationSpec.js
@@ -23,13 +23,10 @@ describe('New Replication Component', () => {
 
   describe('validation', () => {
 
-    beforeEach(() => {
-      sinon.stub(FauxtonAPI.session, 'fetchUser');
-    });
+    FauxtonAPI.session.triggerError = () => {};
 
     afterEach(() => {
       restore(FauxtonAPI.addNotification);
-      restore(FauxtonAPI.session.fetchUser);
     });
 
     it('returns true for local source and target selected', () => {

-- 
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].