From c1cf183a0d9e04d0e0d282742f71035398fb0754 Mon Sep 17 00:00:00 2001
From: Lloyd Hilaiel <lloyd@hilaiel.com>
Date: Mon, 21 Nov 2011 11:35:22 -0700
Subject: [PATCH] add missing mocked server responses, frontend tests now run
 to completion

---
 resources/static/test/qunit/mocks/xhr.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/resources/static/test/qunit/mocks/xhr.js b/resources/static/test/qunit/mocks/xhr.js
index a46142fdf..6b803c57f 100644
--- a/resources/static/test/qunit/mocks/xhr.js
+++ b/resources/static/test/qunit/mocks/xhr.js
@@ -59,8 +59,10 @@ BrowserID.Mocks.xhr = (function() {
       // We are going to test for XHR failures for session_context using 
       // call to serverTime.  We are going to use the flag contextAjaxError
       "get /wsapi/session_context ajaxError": contextInfo, 
+      "get /wsapi/session_context complete": contextInfo, 
       "get /wsapi/session_context throttle": contextInfo, 
       "get /wsapi/session_context multiple": contextInfo, 
+      "get /wsapi/session_context no_identities": contextInfo, 
       "get /wsapi/session_context contextAjaxError": undefined,  
       "get /wsapi/email_for_token?token=token valid": { email: "testuser@testuser.com" },  
       "get /wsapi/email_for_token?token=token invalid": { success: false },  
-- 
GitLab