Ignore:
Timestamp:
10/25/09 07:49:40 (3 years ago)
Author:
SvenDowideit
Message:

Item2286: lots of missing calls to Foswiki::finish(), will refactor in trunk - just cleaning in release branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Release01x00/WysiwygPlugin/test/unit/WysiwygPlugin/WysiwygPluginTests.pm

    r4939 r5375  
    9494    $query->method('GET'); 
    9595 
    96     $Foswiki::Plugins::SESSION = new Foswiki( 'guest', $query ); 
     96        $this->{twiki}->finish(); 
     97    $this->{twiki} = new Foswiki( 'guest', $query ); 
     98    $Foswiki::Plugins::SESSION = $this->{twiki}; 
    9799 
    98100    # charset definition affects output, so it is a response method and 
     
    174176    $this->assert( $text eq $out, 
    175177        "'" . anal($out) . "' !=\n'" . anal($text) . "'" ); 
     178    $foswiki->finish(); 
    176179} 
    177180 
     
    226229    $this->assert_str_equals( $text, $out, 
    227230        "'" . anal($out) . "' !=\n'" . anal($text) . "'" ); 
     231    $foswiki->finish(); 
    228232} 
    229233 
Note: See TracChangeset for help on using the changeset viewer.