Ignore:
Timestamp:
Dec 9, 2006, 4:14:44 PM (15 years ago)
Author:
nick
Message:

Pass the output encoding to the wiki toolkit feeds stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/22_feed_recent_changes.t

    r817 r903  
    2222# Which feed types do we test?
    2323my @feed_types = qw( rss atom );
    24 plan tests => 9 * scalar @feed_types;
     24plan tests => 10 * scalar @feed_types;
    2525
    2626my %content_types = (rss=>'application/rdf+xml', atom=>'application/atom+xml');
     
    4242                     template_path      => "./templates",
    4343                     home_name          => "Home",
    44                      use_plucene        => 1
     44                     use_plucene        => 1,
     45                     http_charset       => "UTF-7",
    4546                   }
    4647    );
     
    5960    #  that we actually got the right feed)
    6061    like( $feed_output, "/$feed_type/i", "Does contain the feed type" );
     62
     63    # Check the XML
     64    like( $feed_output, qr/<?xml version="1.0" encoding="UTF-7"/, "Right XML type and encoding" );
    6165
    6266    # Now write some data, first a minor edit then a non-minor one.
Note: See TracChangeset for help on using the changeset viewer.