Closed
Bug 709081
Opened 14 years ago
Closed 14 years ago
[code quality] Use get_user() in Elastic tests rather than hard-coded IDs
Categories
(support.mozilla.org :: Search, defect, P3)
support.mozilla.org
Search
Tracking
(Not tracked)
VERIFIED
FIXED
2012-01-17
People
(Reporter: erik, Assigned: erik)
Details
(Whiteboard: u=dev c=search s=2012.1 p=1 [qa-])
Use users.tests.get_user() instead of hard-coding 118533. It just so happens that get_user() is specced to return that exact user.
Comment 1•14 years ago
|
||
This is easy pickins. Might as well do it now before we copy-and-paste all that code over and over again and make the code sillier.
Whiteboard: u=user c=search s=2012.1 p=
Updated•14 years ago
|
Whiteboard: u=user c=search s=2012.1 p= → u=user c=search s=2012.1 p=1
Comment 3•14 years ago
|
||
ES tests use model makers now, so this is m00t.
Marking as WONTFIX since there's nothing to do here.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
Comment 4•14 years ago
|
||
I missed the app-specific ES tests. This is still a problem with questions/tests/test_es.py and forums/test/test_es.py.
Reopening.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
| Assignee | ||
Comment 5•14 years ago
|
||
Grabbing after talking to Will. I needed this to happen so I could kill the mixins and fixtures in the ES tests.
Assignee: willkg → erik
| Assignee | ||
Comment 6•14 years ago
|
||
...which I need to happen so I can write decent tests for bug 710469.
| Assignee | ||
Comment 7•14 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Whiteboard: u=user c=search s=2012.1 p=1 → u=dev c=search s=2012.1 p=1
Comment 9•14 years ago
|
||
Please add QA verification steps, or mark as [qa-], thanks
| Assignee | ||
Comment 10•14 years ago
|
||
The tests verify this sufficiently. (Let see if the sprint graphs trip over this.)
Whiteboard: u=dev c=search s=2012.1 p=1 → u=dev c=search s=2012.1 p=1 [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•