mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 15:12:51 +00:00
Fix travis (#11882)
* fieldname wrong * bifurcated test into two - error when both were running async * minor fixes with link and route * move school domain rename up * fix async creation of operations test * edit-in-full-page is button, not link * set_route issue in production order test * minor changes * fix task tree test * more fixes * fix server side issue * improvising ui tests
This commit is contained in:
@@ -7,9 +7,18 @@ QUnit.test("test: Restaurant", function (assert) {
|
||||
|
||||
// number of asserts
|
||||
assert.expect(2);
|
||||
let customer = {
|
||||
"Test Customer 1": [
|
||||
{customer_name: "Test Customer 1"}
|
||||
],
|
||||
"Test Customer 2": [
|
||||
{customer_name: "Test Customer 2"}
|
||||
]
|
||||
};
|
||||
|
||||
frappe.run_serially([
|
||||
// insert a new Restaurant
|
||||
() => frappe.tests.setup_doctype('Customer', customer),
|
||||
() => {
|
||||
return frappe.tests.make('Restaurant', [
|
||||
// values to be set
|
||||
|
||||
Reference in New Issue
Block a user