From 1e2d2f2495e8409b4be31ff947864167a67fd6bb Mon Sep 17 00:00:00 2001
From: tryan <tim@theryanfamily.info>
Date: Wed, 09 Apr 2014 20:55:29 -0400
Subject: [PATCH] Switch to self-hosted flotr2 graphs from Google Charts

---
 src/test/java/com/gitblit/tests/RpcTests.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/java/com/gitblit/tests/RpcTests.java b/src/test/java/com/gitblit/tests/RpcTests.java
index e1ba907..ced1a13 100644
--- a/src/test/java/com/gitblit/tests/RpcTests.java
+++ b/src/test/java/com/gitblit/tests/RpcTests.java
@@ -32,7 +32,7 @@
 import com.gitblit.Constants.AuthorizationControl;
 import com.gitblit.Constants.PermissionType;
 import com.gitblit.Constants.RegistrantType;
-import com.gitblit.GitBlitException.NotAllowedException;
+import com.gitblit.GitBlitException.ForbiddenException;
 import com.gitblit.GitBlitException.UnauthorizedException;
 import com.gitblit.Keys;
 import com.gitblit.models.FederationModel;
@@ -104,7 +104,7 @@
 		UserModel user = null;
 		try {
 			user = RpcUtils.getUser("admin", url, null, null);
-		} catch (NotAllowedException e) {
+		} catch (ForbiddenException e) {
 		}
 		assertNull("Server allows anyone to get user!", user);
 

--
Gitblit v1.9.1