summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/tests/test_utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_editor/static/tests/test_utils.js')
-rw-r--r--addons/web_editor/static/tests/test_utils.js13
1 files changed, 11 insertions, 2 deletions
diff --git a/addons/web_editor/static/tests/test_utils.js b/addons/web_editor/static/tests/test_utils.js
index 27ba86b52ff..7d2a4b37bbb 100644
--- a/addons/web_editor/static/tests/test_utils.js
+++ b/addons/web_editor/static/tests/test_utils.js
@@ -347,14 +347,21 @@ function wysiwygData(data) {
string: "res_model",
type: 'char',
},
+ public: {
+ string: "public",
+ type: 'boolean',
+ },
access_token: {
string: "access_token",
type: 'char',
},
+ image_src: {
+ string: "image_src",
+ type: 'char',
+ },
},
records: [{
id: 1,
- public: true,
name: 'image',
datas_fname: 'image.png',
mimetype: 'image/png',
@@ -363,7 +370,9 @@ function wysiwygData(data) {
type: 'url',
res_id: 0,
res_model: false,
- access_token: false
+ public: true,
+ access_token: false,
+ image_src: '/web_editor/static/src/img/transparent.png',
}],
generate_access_token: function () {
return;