[Rt-commit] rt branch, 4.4/remove-results-rdf, created. rt-4.2.11-135-g6ee585a

Dustin Graves dustin at bestpractical.com
Mon Aug 10 12:59:19 EDT 2015


The branch, 4.4/remove-results-rdf has been created
        at  6ee585abb1ad9deccd08abcb3f266d1b5081b89f (commit)

- Log -----------------------------------------------------------------
commit 6ee585abb1ad9deccd08abcb3f266d1b5081b89f
Author: Dustin Graves <dustin at bestpractical.com>
Date:   Mon Aug 10 16:58:31 2015 +0000

    Remove Search/Results.rdf and relevant tests in t/web/search_rss.t
    
    Fixes: I#30627

diff --git a/share/html/Search/Results.rdf b/share/html/Search/Results.rdf
deleted file mode 100644
index 1446e6c..0000000
--- a/share/html/Search/Results.rdf
+++ /dev/null
@@ -1,48 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%#
-%# COPYRIGHT:
-%#
-%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC
-%#                                          <sales at bestpractical.com>
-%#
-%# (Except where explicitly superseded by other copyright notices)
-%#
-%#
-%# LICENSE:
-%#
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%#
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%#
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-%# 02110-1301 or visit their web page on the internet at
-%# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
-%#
-%#
-%# CONTRIBUTION SUBMISSION POLICY:
-%#
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%#
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%#
-%# END BPS TAGGED BLOCK }}}
-<& /Search/Elements/ResultsRSSView, %ARGS &>
diff --git a/t/web/search_rss.t b/t/web/search_rss.t
index 7f1fdc1..c236956 100644
--- a/t/web/search_rss.t
+++ b/t/web/search_rss.t
@@ -1,7 +1,7 @@
 use strict;
 use warnings;
 
-use RT::Test tests => 38;
+use RT::Test tests => 36;
 my ($baseurl, $agent) = RT::Test->started_ok;
 
 my $ticket = RT::Ticket->new(RT->SystemUser);
@@ -26,8 +26,6 @@ $agent->follow_link_ok({id => 'page-results'});
 for ( 1 .. 5 ) {
     $agent->content_contains('Ticket ' . $_);
 }
-my $rdf_path = $agent->uri->path_query;
-$rdf_path =~ s!Results\.html!Results.rdf!;
 
 $agent->follow_link_ok( { text => 'RSS' } );
 my $noauth_uri = $agent->uri;
@@ -36,8 +34,6 @@ for ( 1 .. 5 ) {
     $agent->content_contains('Ticket ' . $_);
 }
 my $rss_content = $agent->content;
-$agent->get_ok($rdf_path);
-is($agent->content, $rss_content, 'old Results.rdf still works');
 
 use XML::Simple;
 my $rss = XML::Simple::XMLin( $rss_content );

-----------------------------------------------------------------------


More information about the rt-commit mailing list