test fixes
This commit is contained in:
parent
370a024e46
commit
603e6e21b5
@ -21,7 +21,7 @@ script:
|
|||||||
cd ./test_sites/ &&
|
cd ./test_sites/ &&
|
||||||
frappe --reinstall test_site &&
|
frappe --reinstall test_site &&
|
||||||
frappe --install_app erpnext test_site --verbose &&
|
frappe --install_app erpnext test_site --verbose &&
|
||||||
frappe --request '?cmd=erpnext.setup.page.setup_wizard.setup_wizard.setup_account¤cy=USD&first_name=Test&last_name=User&company_name=Wind+Power+LLC&timezone=America/New_York&company_abbr=WP&industry=Manufacturing&country=United states&fy_start_date=2014-01-01&fy_end_date=2014-12-31&language=english' test_site &&
|
frappe --request '?cmd=erpnext.setup.page.setup_wizard.setup_wizard.setup_account¤cy=USD&first_name=Test&last_name=User&company_name=Wind+Power+LLC&timezone=America/New_York&company_abbr=WP&industry=Manufacturing&country=United states&fy_start_date=2014-01-01&fy_end_date=2014-12-31&language=english&company_tagline=Testing&email=test@erpnext.com&password=test' test_site &&
|
||||||
frappe --verbose --run_tests test_site --app erpnext
|
frappe --verbose --run_tests test_site --app erpnext
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
@ -14,7 +14,6 @@ class ItemGroup(NestedSet, WebsiteGenerator):
|
|||||||
self.name = self.item_group_name
|
self.name = self.item_group_name
|
||||||
|
|
||||||
def validate(self):
|
def validate(self):
|
||||||
super(ItemGroup, self).on_update()
|
|
||||||
if not self.parent_website_route:
|
if not self.parent_website_route:
|
||||||
self.parent_website_route = frappe.get_website_route("Item Group",
|
self.parent_website_route = frappe.get_website_route("Item Group",
|
||||||
self.parent_item_group)
|
self.parent_item_group)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
"db_name": "travis",
|
"db_name": "travis",
|
||||||
"db_password": "travis"
|
"db_password": "travis",
|
||||||
|
"mute_emails": 1
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user