Changeset 939


Ignore:
Timestamp:
Mar 16, 2007, 11:49:45 PM (15 years ago)
Author:
kake
Message:

Stop tests dying when Test::HTML::Content not installed (ticket #186).

Location:
trunk/t
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/43_preview_edits.t

    r938 r939  
    22use OpenGuides;
    33use OpenGuides::Test;
    4 use Test::HTML::Content;
    54use Test::More;
    65use Wiki::Toolkit::Setup::SQLite;
     
    4746$output =~ s/^Content-Type.*[\r\n]+//m;
    4847
    49 text_ok( $output, "I am a summary.", "Summary shows up in preview." );
     48Test::HTML::Content::text_ok( $output, "I am a summary.",
     49                              "Summary shows up in preview." );
  • trunk/t/44_node_image.t

    r938 r939  
    22use OpenGuides;
    33use OpenGuides::Test;
    4 use Test::HTML::Content;
    54use Test::More;
    65use Wiki::Toolkit::Setup::SQLite;
Note: See TracChangeset for help on using the changeset viewer.