Skip to content

Commit

Permalink
Item9053: Defer taint assertions until after setup is completed.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@7539 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
GeorgeClark authored and GeorgeClark committed May 25, 2010
1 parent eee77ab commit d88e9da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UnitTestContrib/test/unit/FuncTests.pm
Expand Up @@ -22,11 +22,11 @@ sub set_up {
$this->SUPER::set_up();
$this->{tmpdatafile} = $Foswiki::cfg{TempfileDir} . '/tmpity-tmp.gif';
$this->{tmpdatafile2} = $Foswiki::cfg{TempfileDir} . '/tmpity-tmp2.gif';
$this->{test_web} = Assert::TAINT($this->{test_web});
$this->{test_web2} = $this->{test_web} . 'Extra';
$this->{test_web2} = Assert::TAINT($this->{test_web2});
my $webObject = Foswiki::Meta->new( $this->{session}, $this->{test_web2} );
$webObject->populateNewWeb();
$this->{test_web} = Assert::TAINT($this->{test_web});
$this->{test_web2} = Assert::TAINT($this->{test_web2});
}

sub tear_down {
Expand Down

0 comments on commit d88e9da

Please sign in to comment.