2
0
mirror of https://github.com/frappe/books.git synced 2024-11-08 23:00:56 +00:00

fix(test): field counts cause of attachments

This commit is contained in:
18alantom 2022-10-13 17:36:16 +05:30
parent 4ddf2bf81e
commit 4614e221b4

View File

@ -29,7 +29,7 @@ describe('Schema Builder', function () {
specify('Field Counts', function () { specify('Field Counts', function () {
assert.strictEqual(appSchemaMap.Account.fields?.length, 6); assert.strictEqual(appSchemaMap.Account.fields?.length, 6);
assert.strictEqual(appSchemaMap.JournalEntry.fields?.length, 8); assert.strictEqual(appSchemaMap.JournalEntry.fields?.length, 9);
assert.strictEqual(appSchemaMap.JournalEntryAccount.fields?.length, 3); assert.strictEqual(appSchemaMap.JournalEntryAccount.fields?.length, 3);
assert.strictEqual(appSchemaMap.Party.fields?.length, 9); assert.strictEqual(appSchemaMap.Party.fields?.length, 9);
assert.strictEqual(appSchemaMap.Customer.fields?.length, undefined); assert.strictEqual(appSchemaMap.Customer.fields?.length, undefined);