Closed
Bug 500453
Opened 15 years ago
Closed 15 years ago
User Adding Tags: simpletests
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
addons.mozilla.org Graveyard
Public Pages
Tracking
(Not tracked)
RESOLVED
FIXED
5.0.7
People
(Reporter: mikelee, Assigned: mikelee)
References
Details
(Whiteboard: [webmocha])
Attachments
(2 files)
Breaking out unit tests for bug 494702.
Comment 2•15 years ago
|
||
Having trouble with all tests that require logging in. In my tests, the session data doesn't persist so the user_id fields. To reproduce, set debug > 0 and run /en-US/firefox/tests/?case=controllers%2Ftags_controller.test.php So the test for add_ajax successfully creates the tag, but is not able to create the user_tag_addon row because it needs the user id from the session. I see that the reviews test, testAddReview, fails in the same way. Any help would be greatly appreciated. The test is in tags_controller.test.php. Once I figure this out I'll be able to write tests for the other controllers.
Comment 4•15 years ago
|
||
status update?
Still working on these. Have been running into issues. No ETA yet.
Code patch (diff file format) for this bug. Same as the one in bug 500452.
Updated patch. Also includes tests for blacklist functionality.
Comment 8•15 years ago
|
||
Added in r49293
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•