mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-06 06:58:27 +00:00
[fix] company graph based on base currency
This commit is contained in:
24
erpnext/projects/doctype/task/test_task.js
Normal file
24
erpnext/projects/doctype/task/test_task.js
Normal file
@@ -0,0 +1,24 @@
|
||||
/* eslint-disable */
|
||||
// rename this file from _test_[name] to test_[name] to activate
|
||||
// and remove above this line
|
||||
|
||||
QUnit.test("test: Task", function (assert) {
|
||||
let done = assert.async();
|
||||
|
||||
// number of asserts
|
||||
assert.expect(2);
|
||||
|
||||
frappe.run_serially([
|
||||
// insert a new Task
|
||||
() => frappe.tests.make('Task', [
|
||||
// values to be set
|
||||
{subject: 'new task'}
|
||||
]),
|
||||
() => {
|
||||
assert.equal(cur_frm.doc.status, 'Open');
|
||||
assert.equal(cur_frm.doc.priority, 'Low');
|
||||
},
|
||||
() => done()
|
||||
]);
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user