[Groonga-commit] groonga/gcs [master] Fix assertion of validation error responses

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Nov 5 16:01:19 JST 2012


YUKI Hiroshi	2012-11-05 16:01:19 +0900 (Mon, 05 Nov 2012)

  New Revision: 27500f211384711661aeab470eb0be6b131ecde7
  https://github.com/groonga/gcs/commit/27500f211384711661aeab470eb0be6b131ecde7

  Log:
    Fix assertion of validation error responses

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

  Modified: test/api-configuration.test.js (+1 -0)
===================================================================
--- test/api-configuration.test.js    2012-11-05 16:00:23 +0900 (ebce220)
+++ test/api-configuration.test.js    2012-11-05 16:01:19 +0900 (4d549c3)
@@ -53,6 +53,7 @@ suite('Configuration API', function() {
   }
 
   function assertValidationErrorResponse(expectedMessage, response) {
+    response = xmlResponses.toParsedResponse(response);
     assert.deepEqual(response.pattern,
                      { statusCode: 400,
                        body: xmlResponses.TYPED_ERROR_RESPONSE });
-------------- next part --------------
HTML����������������������������...
Download 



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