- Timestamp:
- 01/25/12 03:51:12 (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Release01x01/UnitTestContrib/test/unit/ViewScriptTests.pm
r13794 r13820 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(); 150 151 151 152 #set up nested web _and_ topic called $this->{test_web}/ThisTopic 152 ($topicObject) = 153 Foswiki::Func::readTopic( $this->{test_web}, 'ThisTopic', 154 'nested ThisTopic text', undef ); 153 ($topicObject) = Foswiki::Func::readTopic( $this->{test_web}, 'ThisTopic' ); 154 $topicObject->text('nested ThisTopic text'); 155 155 $topicObject->save(); 156 156 $topicObject->finish();
Note: See TracChangeset
for help on using the changeset viewer.
