summaryrefslogtreecommitdiffstats
path: root/qa
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-01-04 16:43:18 +0100
committerDylan William Hardison <dylan@hardison.net>2018-01-04 16:43:50 +0100
commitb9122e5acb32bf3a1f2ced1d548535b394ebf964 (patch)
tree62b4c8270472c9276b3185fc66026fa87c2b84b7 /qa
parent0f4f73c8027787e1d83489be32ad798e00bfa77d (diff)
downloadbugzilla-b9122e5acb32bf3a1f2ced1d548535b394ebf964.tar.gz
bugzilla-b9122e5acb32bf3a1f2ced1d548535b394ebf964.tar.xz
fix tests that rely on error messages prior to bug 1426475
Diffstat (limited to 'qa')
-rw-r--r--qa/t/lib/QA/Tests.pm2
-rw-r--r--qa/t/webservice_bug_add_attachment.t2
-rw-r--r--qa/t/webservice_bug_add_comment.t2
-rw-r--r--qa/t/webservice_bug_update.t2
4 files changed, 4 insertions, 4 deletions
diff --git a/qa/t/lib/QA/Tests.pm b/qa/t/lib/QA/Tests.pm
index 89d382050..86fc06ad1 100644
--- a/qa/t/lib/QA/Tests.pm
+++ b/qa/t/lib/QA/Tests.pm
@@ -65,7 +65,7 @@ sub bug_tests {
test => 'Logged-out user can access a public bug.',
},
{ args => { ids => [INVALID_BUG_ID] },
- error => "not a valid bug number",
+ error => "It does not seem like bug number",
test => 'Passing invalid bug id returns error "Invalid Bug ID"',
},
{ args => { ids => [undef] },
diff --git a/qa/t/webservice_bug_add_attachment.t b/qa/t/webservice_bug_add_attachment.t
index e2dad94c3..382e5bf99 100644
--- a/qa/t/webservice_bug_add_attachment.t
+++ b/qa/t/webservice_bug_add_attachment.t
@@ -69,7 +69,7 @@ my @tests = (
},
{ user => 'unprivileged',
args => attach(INVALID_BUG_ID),
- error => "not a valid bug number",
+ error => "It does not seem like bug number",
test => 'Passing invalid bug id returns error "Invalid Bug ID"',
},
{ user => 'unprivileged',
diff --git a/qa/t/webservice_bug_add_comment.t b/qa/t/webservice_bug_add_comment.t
index cf0310602..dafd088fb 100644
--- a/qa/t/webservice_bug_add_comment.t
+++ b/qa/t/webservice_bug_add_comment.t
@@ -48,7 +48,7 @@ my @tests = (
},
{ user => 'unprivileged',
args => { id => INVALID_BUG_ID, comment => TEST_COMMENT },
- error => "not a valid bug number",
+ error => "It does not seem like bug number",
test => 'Passing invalid bug id returns error "Invalid Bug ID"',
},
{ user => 'unprivileged',
diff --git a/qa/t/webservice_bug_update.t b/qa/t/webservice_bug_update.t
index 097c506b6..4e3b9985b 100644
--- a/qa/t/webservice_bug_update.t
+++ b/qa/t/webservice_bug_update.t
@@ -522,7 +522,7 @@ sub invalid_values {
see_also => [
{ value => { add => [random_string(20)] },
- error => 'is not a valid bug number nor an alias',
+ error => 'It does not seem like bug number nor an alias to a bug.',
test => 'random string fails in see_also' },
{ value => { add => ['http://landfill.bugzilla.org/'] },
error => 'See Also URLs should point to one of',