[FIX] web: use correct type integer

In tests, some fields were defined with the type `int` which
does not exist. The correct type is `integer`.
This commit is contained in:
Martin Geubelle
2017-04-12 17:22:20 +02:00
parent 3eb252ab0e
commit 35c7cfa99e
3 changed files with 3 additions and 3 deletions
@@ -81,7 +81,7 @@ QUnit.module('relational_fields', {
partner_type: {
fields: {
name: {string: "Partner Type", type: "char"},
color: {string: "Color index", type: "int"},
color: {string: "Color index", type: "integer"},
},
records: [
{id: 12, display_name: "gold", color: 2},
+1 -1
View File
@@ -82,7 +82,7 @@ QUnit.module('Views', {
partner_type: {
fields: {
name: {string: "Partner Type", type: "char"},
color: {string: "Color index", type: "int"},
color: {string: "Color index", type: "integer"},
},
records: [
{id: 12, display_name: "gold", color: 2},
@@ -41,7 +41,7 @@ QUnit.module('Views', {
category: {
fields: {
name: {string: "Category Name", type: "char"},
color: {string: "Color index", type: "int"},
color: {string: "Color index", type: "integer"},
},
records: [
{id: 6, name: "gold", color: 2},