Skip to content

Commit

Permalink
Item11135: reset test_topicObject in create..session
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@13441 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
PaulHarvey authored and PaulHarvey committed Dec 17, 2011
1 parent 0ee941f commit 2fdb5d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions UnitTestContrib/test/unit/FoswikiTestCase.pm
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,7 @@ sub createNewFoswikiSession {
$this->{session}->finish();
$this->{session} = new Foswiki(@_ );
$Foswiki::Plugins::SESSION = $this->{session};
($this->{test_topicObject}) = Foswiki::Func::readTopic($this->{test_web}, $this->{test_topic});

return $this->{session};
}
Expand Down

0 comments on commit 2fdb5d6

Please sign in to comment.