[Rt-commit] rt branch, 4.4/download-user-info, repushed
Craig Kaiser
craig at bestpractical.com
Tue Jun 5 11:45:03 EDT 2018
The branch 4.4/download-user-info was deleted and repushed:
was 87cb3b65cdafd1d38707fedfa4d707a1d2f05f07
now 63a76c670d863a5e2be03de75994a11ef1d0393f
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: a8289caa4 = 4: a8289caa4 Add portlet for downloading user information
5: daeb9d520 = 5: daeb9d520 Add user download portlet to Admin modify page
6: 690295c9e = 6: 690295c9e Add test for user tsv info download
7: 37a5a7615 = 7: 37a5a7615 Add test for user tickets download
8: 87cb3b65c ! 8: 63a76c670 Add test for user transaction download
@@ -15,6 +15,12 @@
is($info[20], 'root at localhost', 'EmailAddress exported correctly');
is($info[21], 'Enoch Root', 'RealName exported correctly');
@@
+ $agent->get( $url . "/Helpers/Results.tsv?Query=Requestor.id=" . $root->id );
+ ok $agent;
+
+- my @data = split ' ', $agent->res->{_content};
++ my @data = split '\t', $agent->res->{_content};
+ is($data[11], 'test', 'Subject exported correcty');
is($data[12], 'new', 'Status exported correctly');
is($data[13], 'General', 'Queue exported correctly');
is($data[16], 'root (Enoch Root)', 'Requestors exported correctly');
@@ -25,7 +31,7 @@
+ $agent->get( $url . "/Helpers/Results.tsv?Type=Transaction&UserId=" . $root->id );
+ ok $agent;
+
-+ @data = split ' ', $agent->res->{_content};
++ @data = split '\t', $agent->res->{_content};
+ is($data[12], "Test\n", 'Transaction content correct');
+ is($data[9], 'Comments added', 'Transaction description correct');
}
More information about the rt-commit
mailing list