Skip to content

Commit

Permalink
[DON'T MERGE] test-requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
adasatorres committed Dec 31, 2024
1 parent 5041fc2 commit efd832f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion survey_purchase/tests/test_survey_purchase.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,16 @@ class TestSurveyPurchase(TransactionCase):
def setUpClass(cls):
super().setUpClass()
cls.survey = cls.env["survey.survey"].create({"title": "Survey Test"})
cls.partner_id = cls.env["res.partner"].create(
{"name": "Test Partner", "email": "[email protected]"}
)
cls.company = cls.env.company
cls.purchase = cls.env["purchase.order"].create(
{"name": "Test Purchase", "company_id": cls.company.id}
{
"name": "Test Purchase",
"company_id": cls.company.id,
"partner_id": cls.partner_id.id,
}
)

def test_get_default_survey(self):
Expand Down
2 changes: 1 addition & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
odoo-addon-survey_link_base @ git+https://github.com/OCA/survey.git@refs/pull/141/head#subdirectory=setup/survey_link_base
odoo-addon-survey_link_base @ git+https://github.com/OCA/survey.git@refs/pull/141/head#subdirectory=setup/survey_link_base

0 comments on commit efd832f

Please sign in to comment.