[Rt-commit] rt branch, 4.4/download-user-info, repushed

Craig Kaiser craig at bestpractical.com
Tue Jun 5 11:12:04 EDT 2018


The branch 4.4/download-user-info was deleted and repushed:
       was f64314d2642f12aab6fa920e1a7c39df1bc87941
       now 87cb3b65cdafd1d38707fedfa4d707a1d2f05f07

1: 725dd1cde = 1: 725dd1cde Create helper for exporting TSV data
2: 196535932 = 2: 196535932 Update ticket search to use tsv helper
3: a1c91325c = 3: a1c91325c Add column to transaction column map for content
4: 8e171c740 ! 4: a8289caa4 Add portlet for downloading user information
    @@ -72,7 +72,7 @@
     +$user->Load( $id );
     +
     +# Build Ticket Query
    -+my $query_tickets = "Query=Requestor.id = " . $id ? $id : '';
    ++my $query_tickets = "Query=Requestor.id = " . $id ? $id : '0';
     +</%init>
     +
     +<%ARGS>
5: 03da87ec0 = 5: daeb9d520 Add user download portlet to Admin modify page
6: 12a55916f = 6: 690295c9e Add test for user tsv info download
7: 443a3d521 = 7: 37a5a7615 Add test for user tickets download
8: f64314d26 ! 8: 87cb3b65c Add test for user transaction download
    @@ -5,6 +5,15 @@
     diff --git a/t/download_user_info.t b/t/download_user_info.t
     --- a/t/download_user_info.t
     +++ b/t/download_user_info.t
    +@@
    +     $agent->get( $url . "/Helpers/Results.tsv?Type=User&id=" . $root->id );
    +     ok $agent;
    + 
    +-    my @info = split '	', $agent->res->{_content};;
    ++    my @info = split '\t', $agent->res->{_content};;
    +     is($info[19], 'root', 'Name exported correctly');
    +     is($info[20], 'root at localhost', 'EmailAddress exported correctly');
    +     is($info[21], 'Enoch Root', 'RealName exported correctly');
     @@
          is($data[12], 'new', 'Status exported correctly');
          is($data[13], 'General', 'Queue exported correctly');



More information about the rt-commit mailing list