[fix] add phone, email, skype in contact us, fixes frappe/erpnext#1226

This commit is contained in:
Rushabh Mehta 2017-09-04 21:46:37 +05:30
parent 664adb470c
commit a5b74ba3bc

View file

@ -0,0 +1,23 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit.test("test: Contact Us Settings", function (assert) {
let done = assert.async();
// number of asserts
assert.expect(1);
frappe.run_serially([
// insert a new Contact Us Settings
() => frappe.tests.make('Contact Us Settings', [
// values to be set
{key: 'value'}
]),
() => {
assert.equal(cur_frm.doc.key, 'value');
},
() => done()
]);
});