[Groonga-commit] groonga/gcs [master] Fix expected response from configurations API

Back to archive index

SHIMODA Hiroshi null+****@clear*****
Mon Aug 13 17:33:26 JST 2012


SHIMODA Hiroshi	2012-08-13 17:33:26 +0900 (Mon, 13 Aug 2012)

  New Revision: 0fea6b67c69dc9b2bf7f9910ae97ed28e42f5744
  https://github.com/groonga/gcs/commit/0fea6b67c69dc9b2bf7f9910ae97ed28e42f5744

  Log:
    Fix expected response from configurations API

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

  Modified: test/api-configuration.test.js (+10 -10)
===================================================================
--- test/api-configuration.test.js    2012-08-13 17:29:50 +0900 (0a3a07f)
+++ test/api-configuration.test.js    2012-08-13 17:33:26 +0900 (16f9724)
@@ -444,8 +444,8 @@ suite('Configuration API', function() {
               IndexFieldType: 'text',
               TextOptions: {
                 DefaultValue: {},
-                FacetEnabled: false,
-                ResultEnabled: false
+                FacetEnabled: 'false',
+                ResultEnabled: 'false'
               }
             };
         var options = response.body.DefineIndexFieldResponse.DefineIndexFieldResult.IndexField.Options;
@@ -481,8 +481,8 @@ suite('Configuration API', function() {
               IndexFieldType: 'text',
               TextOptions: {
                 DefaultValue: {},
-                FacetEnabled: true,
-                ResultEnabled: true
+                FacetEnabled: 'true',
+                ResultEnabled: 'true'
               }
             };
         var options = response.body.DefineIndexFieldResponse.DefineIndexFieldResult.IndexField.Options;
@@ -551,9 +551,9 @@ suite('Configuration API', function() {
               IndexFieldType: 'literal',
               LiteralOptions: {
                 DefaultValue: {},
-                FacetEnabled: false,
-                ResultEnabled: false,
-                SearchEnabled: false
+                FacetEnabled: 'false',
+                ResultEnabled: 'false',
+                SearchEnabled: 'false'
               }
             };
         var options = response.body.DefineIndexFieldResponse.DefineIndexFieldResult.IndexField.Options;
@@ -591,9 +591,9 @@ suite('Configuration API', function() {
               IndexFieldType: 'literal',
               LiteralOptions: {
                 DefaultValue: {},
-                FacetEnabled: true,
-                ResultEnabled: true,
-                SearchEnabled: true
+                FacetEnabled: 'true',
+                ResultEnabled: 'true',
+                SearchEnabled: 'true'
               }
             };
         var options = response.body.DefineIndexFieldResponse.DefineIndexFieldResult.IndexField.Options;
-------------- next part --------------
HTML����������������������������...
Download 



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