From 84f43536d5474f2077cf3b9a07b13b21ad853c3b Mon Sep 17 00:00:00 2001 From: James Moger Date: Tue, 15 Apr 2014 09:27:43 -0400 Subject: Removed obsolete Gravatar profile code --- src/test/java/com/gitblit/tests/ActivityTest.java | 32 ----------------------- 1 file changed, 32 deletions(-) delete mode 100644 src/test/java/com/gitblit/tests/ActivityTest.java (limited to 'src/test/java') diff --git a/src/test/java/com/gitblit/tests/ActivityTest.java b/src/test/java/com/gitblit/tests/ActivityTest.java deleted file mode 100644 index b7382b87..00000000 --- a/src/test/java/com/gitblit/tests/ActivityTest.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright 2011 gitblit.com. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.gitblit.tests; - -import java.io.IOException; - -import org.junit.Test; - -import com.gitblit.models.GravatarProfile; -import com.gitblit.utils.ActivityUtils; - -public class ActivityTest extends GitblitUnitTest { - - @Test - public void testGravatarProfile() throws IOException { - GravatarProfile profile = ActivityUtils.getGravatarProfile("beau@dentedreality.com.au"); - assertEquals("beau", profile.preferredUsername); - } -} \ No newline at end of file -- cgit v1.2.3