Oh dear. Fixed the compilation error in a couple of tests from my last commit. Sorry.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29111 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Brian Remmington
2011-07-17 16:04:29 +00:00
parent dfa3e42072
commit bf72b07d8e
2 changed files with 2 additions and 2 deletions

View File

@@ -363,7 +363,7 @@ public class PublishEventActionTest extends AbstractPublishingIntegrationTest
// Check Status has changed to COMPLETE // Check Status has changed to COMPLETE
eventStatus = nodeService.getProperty(eventNode, PublishingModel.PROP_PUBLISHING_EVENT_STATUS); eventStatus = nodeService.getProperty(eventNode, PublishingModel.PROP_PUBLISHING_EVENT_STATUS);
assertEquals(PublishingEvent.Status.COMPLETE.name(), eventStatus); assertEquals(PublishingEvent.Status.COMPLETED.name(), eventStatus);
return eventNode; return eventNode;
} }

View File

@@ -129,7 +129,7 @@ public class PublishingEventHelperTest
assertNull(result); assertNull(result);
String comment = "The comment"; String comment = "The comment";
Status status = Status.COMPLETE; Status status = Status.COMPLETED;
Date modified= new Date(); Date modified= new Date();
Date created = new Date(modified.getTime()-3600000); Date created = new Date(modified.getTime()-3600000);
String creatorName = "The creator"; String creatorName = "The creator";