Add a WebService QA test for Bug.add_attachment

RESOLVED FIXED in Bugzilla 4.0

Status

()

Bugzilla
QA Test Scripts
--
enhancement
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: Max Kanat-Alexander, Assigned: Max Kanat-Alexander)

Tracking

Bugzilla 4.0
Bug Flags:
approval4.0 +
blocking4.0 +

Details

Attachments

(1 attachment, 2 obsolete attachments)

(Assignee)

Description

7 years ago
This is new in 4.0 and needs to be tested.
Flags: blocking4.0+
(Assignee)

Updated

7 years ago
Assignee: testing → mkanat
(Assignee)

Comment 1

7 years ago
Created attachment 509694 [details] [diff] [review]
Work In Progress
(Assignee)

Comment 2

7 years ago
Created attachment 509697 [details] [diff] [review]
WIP 2
Attachment #509694 - Attachment is obsolete: true
(Assignee)

Updated

7 years ago
Depends on: 633041
(Assignee)

Comment 3

7 years ago
Created attachment 511247 [details] [diff] [review]
v1
Attachment #509697 - Attachment is obsolete: true
Attachment #511247 - Flags: review?(LpSolit)
(Assignee)

Comment 4

7 years ago
The attached patch requires that Bugzilla be patched with the patch in the blocker, or the test won't pass.

Comment 5

7 years ago
Comment on attachment 511247 [details] [diff] [review]
v1

>=== added file 't/webservice_bug_add_attachment.t'

>+use constant TIMETRACKING_USER => 'admin';

Unused constant. r=LpSolit with this constant removed.
Attachment #511247 - Flags: review?(LpSolit) → review+
(Assignee)

Comment 6

7 years ago
Okay, I removed the constant on checkin!

Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/qa/4.0/                      
modified config/generate_test_data.pl
added t/webservice_bug_add_attachment.t
modified t/lib/QA/RPC.pm
Committed revision 180.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED

Comment 7

7 years ago
I finally decided to set the approval flag in the QA component, so that we can more easily track which scripts landed on which branches.
Flags: approval4.0+
You need to log in before you can comment on or make changes to this bug.