From 9727a3fe5077aba36b3d7b249f06f6f24f68a623 Mon Sep 17 00:00:00 2001 From: Ben Cornwell-Mott Date: Wed, 2 Aug 2017 06:08:32 -0700 Subject: [PATCH] More codacy issues --- .../tests/test_request_for_quotation_for_status.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/erpnext/buying/doctype/request_for_quotation/tests/test_request_for_quotation_for_status.js b/erpnext/buying/doctype/request_for_quotation/tests/test_request_for_quotation_for_status.js index f0d797a4f5..c315f6b6ef 100644 --- a/erpnext/buying/doctype/request_for_quotation/tests/test_request_for_quotation_for_status.js +++ b/erpnext/buying/doctype/request_for_quotation/tests/test_request_for_quotation_for_status.js @@ -18,7 +18,7 @@ QUnit.test("Test: Request for Quotation", function (assert) { cur_frm.fields_dict.suppliers.grid.grid_rows[0].toggle_view(); }, () => frappe.timeout(1), - () => { + () => { cur_frm.fields_dict.suppliers.grid.grid_rows[0].doc.supplier = "_Test Supplier"; frappe.click_check('Send Email'); cur_frm.cur_grid.frm.script_manager.trigger('supplier'); @@ -36,9 +36,9 @@ QUnit.test("Test: Request for Quotation", function (assert) { () => frappe.timeout(1), () => { cur_frm.fields_dict.suppliers.grid.grid_rows[1].doc.supplier = "_Test Supplier 1"; - frappe.click_check('Send Email'); - cur_frm.cur_grid.frm.script_manager.trigger('supplier'); - }, + frappe.click_check('Send Email'); + cur_frm.cur_grid.frm.script_manager.trigger('supplier'); + }, () => frappe.timeout(1), () => { cur_frm.cur_grid.toggle_view(); @@ -94,7 +94,7 @@ QUnit.test("Test: Request for Quotation", function (assert) { () => frappe.click_button('Update'), () => frappe.timeout(1), - () => frappe.click_button('Supplier Quotation'), + () => frappe.click_button('Supplier Quotation'), () => frappe.timeout(1), () => frappe.click_link('Make'), () => frappe.timeout(1),