Changeset 565 for trunk/t/41_deletion.t


Ignore:
Timestamp:
Nov 26, 2004, 2:12:39 PM (17 years ago)
Author:
kake
Message:

Take out some more common testing code into OpenGuides::Test - make_basic_config

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/41_deletion.t

    r564 r565  
    11use strict;
    2 use Config::Tiny;
    3 use Cwd;
    42use CGI::Wiki::Formatter::UseMod;
    53use OpenGuides::Template;
     4use OpenGuides::Test;
    65use Test::MockObject;
    76use Test::More tests => 3;
    87
    9 my $config = Config::Tiny->new;
    10 $config->{_}->{template_path} = cwd . "/templates";
     8my $config = OpenGuides::Test->make_basic_config;
    119$config->{_}->{site_name} = "Test Site";
    1210$config->{_}->{script_url} = "/";
    13 $config->{_}->{script_name} = "";
    1411
    1512# White box testing - we know that OpenGuides::Template only actually uses
Note: See TracChangeset for help on using the changeset viewer.