[Groonga-commit] groonga/gcs [master] Update method to get error information

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Nov 14 20:16:44 JST 2012


YUKI Hiroshi	2012-11-14 20:16:44 +0900 (Wed, 14 Nov 2012)

  New Revision: d3841694382dc5377d3a7ae9f0e7343475e4a5d9
  https://github.com/groonga/gcs/commit/d3841694382dc5377d3a7ae9f0e7343475e4a5d9

  Log:
    Update method to get error information

  Modified files:
    test/api-configuration.test.js

  Modified: test/api-configuration.test.js (+2 -2)
===================================================================
--- test/api-configuration.test.js    2012-11-14 20:15:20 +0900 (d9b73ce)
+++ test/api-configuration.test.js    2012-11-14 20:16:44 +0900 (719e669)
@@ -68,7 +68,7 @@ suite('Configuration API', function() {
           Code: 'ValidationError',
           Message: expectedMessage
         };
-    assert.deepEqual(response.body.Response.Errors.Error, expectedError);
+    assert.deepEqual(response.body.ErrorResponse.Error, expectedError);
   }
 
   var TOO_SHORT_1_LETTER_DOMAIN_NAME = 'a';
@@ -1316,7 +1316,7 @@ suite('Configuration API', function() {
                 Message: 'A bad or out-of-range value "2011-02-02" was supplied ' +
                          'for the "Version" input parameter.'
               };
-          assert.deepEqual(response.body.Response.Errors.Error, expectedError);
+          assert.deepEqual(response.body.ErrorResponse.Error, expectedError);
 
           done();
         })
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index