james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adup...@apache.org
Subject [7/8] james-project git commit: PROTOCOLS-117 Correct StoreManagerTests
Date Mon, 13 Nov 2017 15:27:44 GMT
PROTOCOLS-117 Correct StoreManagerTests


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/14a6930f
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/14a6930f
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/14a6930f

Branch: refs/heads/master
Commit: 14a6930f1a56f574ffd27e9488e971b10041208d
Parents: 2b4626f
Author: benwa <btellier@linagora.com>
Authored: Thu Nov 9 10:06:58 2017 +0700
Committer: Antoine Duprat <aduprat@linagora.com>
Committed: Mon Nov 13 16:25:59 2017 +0100

----------------------------------------------------------------------
 .../org/apache/james/mailbox/store/StoreRightManagerTest.java    | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/14a6930f/mailbox/store/src/test/java/org/apache/james/mailbox/store/StoreRightManagerTest.java
----------------------------------------------------------------------
diff --git a/mailbox/store/src/test/java/org/apache/james/mailbox/store/StoreRightManagerTest.java
b/mailbox/store/src/test/java/org/apache/james/mailbox/store/StoreRightManagerTest.java
index 9d765d5..5ebe23b 100644
--- a/mailbox/store/src/test/java/org/apache/james/mailbox/store/StoreRightManagerTest.java
+++ b/mailbox/store/src/test/java/org/apache/james/mailbox/store/StoreRightManagerTest.java
@@ -47,7 +47,6 @@ import org.apache.james.mailbox.store.mail.MailboxMapper;
 import org.apache.james.mailbox.store.mail.model.Mailbox;
 import org.apache.james.mailbox.store.mail.model.impl.SimpleMailbox;
 import org.junit.Before;
-import org.junit.Ignore;
 import org.junit.Test;
 
 public class StoreRightManagerTest {
@@ -82,13 +81,12 @@ public class StoreRightManagerTest {
             .isInstanceOf(MailboxNotFoundException.class);
     }
 
-    @Ignore("PROTOCOLS-117 Will be solved in next commit")
     @Test
     public void hasRightShouldReturnTrueWhenTheUserOwnTheMailbox() throws MailboxException
{
         Mailbox mailbox = new SimpleMailbox(MailboxPath.forUser(ALICE, MailboxConstants.INBOX),
UID_VALIDITY);
 
         assertThat(storeRightManager.hasRight(mailbox, Right.Write, aliceSession))
-            .isFalse();
+            .isTrue();
     }
 
     @Test


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message