You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2018/12/14 14:21:00 UTC
[isis] branch v2 updated: ISIS-2040: fixing tests
This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch v2
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/v2 by this push:
new 68298ff ISIS-2040: fixing tests
68298ff is described below
commit 68298fff4578d2bb758e6fc96456d95024dc9f69
Author: Andi Huber <ah...@apache.org>
AuthorDate: Fri Dec 14 15:20:54 2018 +0100
ISIS-2040: fixing tests
Task-Url: https://issues.apache.org/jira/browse/ISIS-2040
---
.../org/apache/isis/security/shiro/IsisPermissionTest_setParts.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/core/plugins/security-shiro/src/test/java/org/apache/isis/security/shiro/IsisPermissionTest_setParts.java b/core/plugins/security-shiro/src/test/java/org/apache/isis/security/shiro/IsisPermissionTest_setParts.java
index 5ad665c..ae4d27c 100644
--- a/core/plugins/security-shiro/src/test/java/org/apache/isis/security/shiro/IsisPermissionTest_setParts.java
+++ b/core/plugins/security-shiro/src/test/java/org/apache/isis/security/shiro/IsisPermissionTest_setParts.java
@@ -30,19 +30,19 @@ public class IsisPermissionTest_setParts {
@Test
public void noVeto() throws Exception {
IsisPermission ip = new IsisPermission("com.mycompany.myapp:Customer:changeAddress:r");
- assertThat(ip.toString(), is("[com.mycompany.myapp]:[customer]:[changeaddress]:[r]"));
+ assertThat(ip.toString(), is("com.mycompany.myapp:customer:changeaddress:r"));
}
@Test
public void withVetoableDomain() throws Exception {
IsisPermission ip = new IsisPermission("foo/com.mycompany.myapp:Customer:changeAddress:r");
- assertThat(ip.toString(), is("foo/[com.mycompany.myapp]:[customer]:[changeaddress]:[r]"));
+ assertThat(ip.toString(), is("foo/com.mycompany.myapp:customer:changeaddress:r"));
}
@Test
public void withVetoAndVetoableDomain() throws Exception {
IsisPermission ip = new IsisPermission("!foo/com.mycompany.myapp:Customer:changeAddress:r");
- assertThat(ip.toString(), is("!foo/[com.mycompany.myapp]:[customer]:[changeaddress]:[r]"));
+ assertThat(ip.toString(), is("!foo/com.mycompany.myapp:customer:changeaddress:r"));
}