Skip to content

Commit

Permalink
- tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyasProgrammer committed Oct 10, 2023
1 parent ad89c14 commit a742fca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions subscription_oca/tests/test_subscription_oca.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,3 +210,7 @@ def test_misc(self):
(4, self.env.ref("product.group_discount_per_so_line").id)
]
self.sub_line.read(["discount"])
wiz = self.env["close.reason.wizard"].create({})
wiz.with_context(active_id=self.sub.id).button_confirm()
self.assertEqual(self.sub.stage_id.name, "Closed")
self.assertFalse(self.sub.active)

0 comments on commit a742fca

Please sign in to comment.