UI Test Added for Membership Type
diff --git a/erpnext/docs/assets/img/non_profit/grant_application/grant_application.png b/erpnext/docs/assets/img/non_profit/grant_application/grant_application.png
new file mode 100644
index 0000000..50cc1a8
--- /dev/null
+++ b/erpnext/docs/assets/img/non_profit/grant_application/grant_application.png
Binary files differ
diff --git a/erpnext/docs/user/manual/en/non_profit/Grant Application/grant_application.md b/erpnext/docs/user/manual/en/non_profit/Grant Application/grant_application.md
new file mode 100644
index 0000000..47a0606
--- /dev/null
+++ b/erpnext/docs/user/manual/en/non_profit/Grant Application/grant_application.md
@@ -0,0 +1,7 @@
+#Grant Application
+
+The Grant Application doctype allows you to record the Grant Applicants details.
+
+<img class="screenshot" alt="Grant Application" src="/docs/assets/img/non_profit/grant_application/grant_application.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/non_profit/doctype/membership_type/test_membership_type.js b/erpnext/non_profit/doctype/membership_type/test_membership_type.js
index d833aac..6440df8 100644
--- a/erpnext/non_profit/doctype/membership_type/test_membership_type.js
+++ b/erpnext/non_profit/doctype/membership_type/test_membership_type.js
@@ -6,16 +6,18 @@
let done = assert.async();
// number of asserts
- assert.expect(1);
+ assert.expect(2);
frappe.run_serially([
- // insert a new Membership Type
+ // insert a new Member
() => frappe.tests.make('Membership Type', [
// values to be set
- {key: 'value'}
+ {membership_type: 'Gold'},
+ {amount:50000}
]),
() => {
- assert.equal(cur_frm.doc.key, 'value');
+ assert.equal(cur_frm.doc.membership_type, 'Gold');
+ assert.equal(cur_frm.doc.amount, '50000');
},
() => done()
]);