Changeset 13814
- Timestamp:
- 01/24/12 12:04:41 (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UnitTestContrib/test/unit/ViewScriptTests.pm
r13791 r13814 130 130 my ($topicObject) = 131 131 Foswiki::Func::readTopic( $this->{test_subweb}, 132 $Foswiki::cfg{HomeTopicName}, "SMELL" ); 132 $Foswiki::cfg{HomeTopicName}); 133 $topicObject->text( "SMELL" ); 133 134 $topicObject->save(); 134 135 $topicObject->finish(); … … 144 145 }; 145 146 my ($topicObject) = 146 Foswiki::Func::readTopic( $this->{test_subweb}, $topic ,147 'nested topci1 text', undef);147 Foswiki::Func::readTopic( $this->{test_subweb}, $topic); 148 $topicObject->text('nested topci1 text'); 148 149 $topicObject->save(); 149 150 $topicObject->finish(); … … 151 152 #set up nested web _and_ topic called $this->{test_web}/ThisTopic 152 153 ($topicObject) = 153 Foswiki::Func::readTopic( $this->{test_web}, 'ThisTopic' ,154 'nested ThisTopic text', undef);154 Foswiki::Func::readTopic( $this->{test_web}, 'ThisTopic'); 155 $topicObject->text( 'nested ThisTopic text' ); 155 156 $topicObject->save(); 156 157 $topicObject->finish();
Note: See TracChangeset
for help on using the changeset viewer.
