diff options
author | David Lawrence <dkl@mozilla.com> | 2016-08-31 06:24:56 +0200 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2016-08-31 06:24:56 +0200 |
commit | 1df1a7b9ea4cd24235d344d495a874de40624612 (patch) | |
tree | f09a46880a81149cceceabe466cec1ea74d8d80b /xt/webservice/bug_comments.t | |
parent | 3a903b41328ba20072570c9fde36b332ea082f03 (diff) | |
download | bugzilla-1df1a7b9ea4cd24235d344d495a874de40624612.tar.gz bugzilla-1df1a7b9ea4cd24235d344d495a874de40624612.tar.xz |
- Fixed API tests to work after login/email changes
Diffstat (limited to 'xt/webservice/bug_comments.t')
-rw-r--r-- | xt/webservice/bug_comments.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xt/webservice/bug_comments.t b/xt/webservice/bug_comments.t index 2312083d6..107f866c3 100644 --- a/xt/webservice/bug_comments.t +++ b/xt/webservice/bug_comments.t @@ -47,6 +47,7 @@ sub test_comments { is($comment->{text}, $expected_text, "comment has the correct text"); my $priv_login = $rpc->bz_config->{PRIVATE_BUG_USER . '_user_login'}; + $priv_login = $t->{user} ? $priv_login : email_filter($priv_login); is($comment->{creator}, $priv_login, "comment creator is correct"); my $creation_day; |