Opened 13 years ago
Closed 13 years ago
#1486 closed enhancement (fixed)
Add call to getUsingItems() in all TestFoo.test_delete() methods
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | major | Milestone: | BASE 2.16 |
Component: | test | Version: | |
Keywords: | Cc: |
Description
I think the getUsingItems() method is never called otherwise during regular testing and there are a lot of non-trivial queries in there. NOTE! All test cases should delete only items which has no other items using it, so it is expected that the method call always return an empty list.
Change History (3)
comment:1 Changed 13 years ago by
Milestone: | → BASE 2.16 |
---|
comment:2 Changed 13 years ago by
Owner: | changed from everyone to Nicklas Nordborg |
---|---|
Status: | new → assigned |
comment:3 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Something like this should be enough:
The call to
dc.deleteItem()
anddc.commit()
is already in the code.