From bf72b07d8ee5e80526013d73aba663ced619406e Mon Sep 17 00:00:00 2001 From: Brian Remmington Date: Sun, 17 Jul 2011 16:04:29 +0000 Subject: [PATCH] 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 --- .../org/alfresco/repo/publishing/PublishEventActionTest.java | 2 +- .../org/alfresco/repo/publishing/PublishingEventHelperTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/java/org/alfresco/repo/publishing/PublishEventActionTest.java b/source/java/org/alfresco/repo/publishing/PublishEventActionTest.java index 0f11fe150f..fd712975d9 100644 --- a/source/java/org/alfresco/repo/publishing/PublishEventActionTest.java +++ b/source/java/org/alfresco/repo/publishing/PublishEventActionTest.java @@ -363,7 +363,7 @@ public class PublishEventActionTest extends AbstractPublishingIntegrationTest // Check Status has changed to COMPLETE eventStatus = nodeService.getProperty(eventNode, PublishingModel.PROP_PUBLISHING_EVENT_STATUS); - assertEquals(PublishingEvent.Status.COMPLETE.name(), eventStatus); + assertEquals(PublishingEvent.Status.COMPLETED.name(), eventStatus); return eventNode; } diff --git a/source/java/org/alfresco/repo/publishing/PublishingEventHelperTest.java b/source/java/org/alfresco/repo/publishing/PublishingEventHelperTest.java index a3ebb8396f..d3d25b8cd4 100644 --- a/source/java/org/alfresco/repo/publishing/PublishingEventHelperTest.java +++ b/source/java/org/alfresco/repo/publishing/PublishingEventHelperTest.java @@ -129,7 +129,7 @@ public class PublishingEventHelperTest assertNull(result); String comment = "The comment"; - Status status = Status.COMPLETE; + Status status = Status.COMPLETED; Date modified= new Date(); Date created = new Date(modified.getTime()-3600000); String creatorName = "The creator";