Changeset 492 for trunk/FormFieldListPlugin/test/unit/FormFieldListPlugin/FormFieldListPluginTests.pm
- Timestamp:
- 11/09/08 17:42:08 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FormFieldListPlugin/test/unit/FormFieldListPlugin/FormFieldListPluginTests.pm
r136 r492 37 37 topic2 => { 38 38 name => 'FormFieldListTestTopic2', 39 user => ' TWikiContributor',39 user => 'ProjectContributor', 40 40 date => 1200000000, 41 41 form => 'ProjectForm', … … 638 638 639 639 my $source = 640 "%FORMFIELDLIST{topic=\"$allTopics\" user=\"ScumBag, TWikiContributor\" format=\"topic=\$topicName, last changed by \$topicUser\"}%";640 "%FORMFIELDLIST{topic=\"$allTopics\" user=\"ScumBag, ProjectContributor\" format=\"topic=\$topicName, last changed by \$topicUser\"}%"; 641 641 642 642 my $expected = 'topic=FormFieldListTestTopic1, last changed by ScumBag 643 643 topic=FormFieldListTestTopic1, last changed by ScumBag 644 644 topic=FormFieldListTestTopic1, last changed by ScumBag 645 topic=FormFieldListTestTopic2, last changed by TWikiContributor646 topic=FormFieldListTestTopic2, last changed by TWikiContributor647 topic=FormFieldListTestTopic2, last changed by TWikiContributor';645 topic=FormFieldListTestTopic2, last changed by ProjectContributor 646 topic=FormFieldListTestTopic2, last changed by ProjectContributor 647 topic=FormFieldListTestTopic2, last changed by ProjectContributor'; 648 648 649 649 $this->do_test( $testTopic, $expected, $source ); … … 662 662 663 663 my $source = 664 "%FORMFIELDLIST{topic=\"$allTopics\" excludeuser=\"ScumBag, TWikiContributor\" format=\"topic=\$topicName, last changed by \$topicUser\"}%";664 "%FORMFIELDLIST{topic=\"$allTopics\" excludeuser=\"ScumBag, ProjectContributor\" format=\"topic=\$topicName, last changed by \$topicUser\"}%"; 665 665 666 666 my $expected = 'topic=FormFieldListTestTopic3, last changed by TWikiGuest … … 1108 1108 my ( $meta, $text ) = 1109 1109 $this->{twiki}->{store} 1110 ->readTopic( ' TWikiContributor', $this->{test_web}, $topic );1110 ->readTopic( 'ProjectContributor', $this->{test_web}, $topic ); 1111 1111 1112 1112 my @fields = $meta->find('FIELD'); … … 1123 1123 1124 1124 $this->{twiki}->{store} 1125 ->saveTopic( ' TWikiContributor', $this->{test_web}, $topic, $text,1125 ->saveTopic( 'ProjectContributor', $this->{test_web}, $topic, $text, 1126 1126 $meta ); 1127 1127 … … 1132 1132 my ( $meta, $text ) = 1133 1133 $this->{twiki}->{store} 1134 ->readTopic( ' TWikiContributor', $this->{test_web}, $topic );1134 ->readTopic( 'ProjectContributor', $this->{test_web}, $topic ); 1135 1135 1136 1136 # delay loop … … 1138 1138 1139 1139 $this->{twiki}->{store} 1140 ->saveTopic( ' TWikiContributor', $this->{test_web}, $topic, 'DA',1140 ->saveTopic( 'ProjectContributor', $this->{test_web}, $topic, 'DA', 1141 1141 $meta ); 1142 1142 } … … 1198 1198 1199 1199 $this->{twiki}->{store} 1200 ->saveTopic( ' TWikiContributor', $this->{test_web}, $topic, $text,1200 ->saveTopic( 'ProjectContributor', $this->{test_web}, $topic, $text, 1201 1201 $meta ); 1202 1202 … … 1520 1520 user=TWikiAdminUser 1521 1521 user=TWikiAdminUser 1522 user= TWikiContributor1523 user= TWikiContributor1524 user= TWikiContributor1522 user=ProjectContributor 1523 user=ProjectContributor 1524 user=ProjectContributor 1525 1525 user=TWikiGuest 1526 1526 user=TWikiGuest
Note: See TracChangeset
for help on using the changeset viewer.
