diff options
author | Olivier Lamy <olamy@apache.org> | 2012-03-21 13:33:28 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-03-21 13:33:28 +0000 |
commit | 08f98d5369722395757c5138f06cb069cc4bfbe6 (patch) | |
tree | 37183002d59816051723602bee169b82a60474f1 /archiva-modules/archiva-web/archiva-web-common/src/test | |
parent | decae4e3652f6327f4d2811ced3a2ab328ea5d13 (diff) | |
download | archiva-08f98d5369722395757c5138f06cb069cc4bfbe6.tar.gz archiva-08f98d5369722395757c5138f06cb069cc4bfbe6.zip |
fix junit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1303389 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web/archiva-web-common/src/test')
-rw-r--r-- | archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/security/UserRepositoriesStub.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/security/UserRepositoriesStub.java b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/security/UserRepositoriesStub.java index fb0e2105c..f8b9dc075 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/security/UserRepositoriesStub.java +++ b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/security/UserRepositoriesStub.java @@ -53,12 +53,12 @@ public class UserRepositoriesStub public boolean isAuthorizedToUploadArtifacts( String principal, String repoId ) throws ArchivaSecurityException { - return false; + return true; } public boolean isAuthorizedToDeleteArtifacts( String principal, String repoId ) { - return false; + return true; } public List<String> getManagableRepositoryIds( String principal ) |