Changeset 215


Ignore:
Timestamp:
Aug 1, 2003, 4:00:27 PM (18 years ago)
Author:
kake
Message:

Added munge_urls parameter for newer versions of CGI::Wiki::Formatter::UseMod

Location:
trunk/t
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/15_template.t

    r214 r215  
    1818my $fake_wiki = Test::MockObject->new;
    1919$fake_wiki->mock("formatter",
    20                  sub { return CGI::Wiki::Formatter::UseMod->new; } );
     20                 sub { return CGI::Wiki::Formatter::UseMod->new( munge_urls => 1 ); } );
    2121
    2222eval { OpenGuides::Template->output( wiki   => $fake_wiki,
  • trunk/t/21_rdf.t

    r214 r215  
    2222      my $wiki = CGI::Wiki->new(
    2323          store     => $store,
    24           formatter => CGI::Wiki::Formatter::UseMod->new );
     24          formatter => CGI::Wiki::Formatter::UseMod->new( munge_urls => 1 ),
     25      );
    2526      my $config = Config::Tiny->read( "t/21_wiki.conf" );
    2627
Note: See TracChangeset for help on using the changeset viewer.