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