diff options
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; |