From dfc4ece4083bbbb98f55291d05e7d2b1513464b7 Mon Sep 17 00:00:00 2001
From: Thomas Pummer <dev@nullpointer.at>
Date: Fri, 22 Feb 2013 11:10:11 -0500
Subject: [PATCH] the display-name in web.xml now shows the actual version of Gitblit
---
tests/com/gitblit/tests/ActivityTest.java | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/tests/com/gitblit/tests/ActivityTest.java b/tests/com/gitblit/tests/ActivityTest.java
index b7e5f7a..2271326 100644
--- a/tests/com/gitblit/tests/ActivityTest.java
+++ b/tests/com/gitblit/tests/ActivityTest.java
@@ -15,15 +15,18 @@
*/
package com.gitblit.tests;
+import static org.junit.Assert.assertEquals;
+
import java.io.IOException;
-import junit.framework.TestCase;
+import org.junit.Test;
import com.gitblit.models.GravatarProfile;
import com.gitblit.utils.ActivityUtils;
-public class ActivityTest extends TestCase {
+public class ActivityTest {
+ @Test
public void testGravatarProfile() throws IOException {
GravatarProfile profile = ActivityUtils.getGravatarProfile("beau@dentedreality.com.au");
assertEquals("beau", profile.preferredUsername);
--
Gitblit v1.9.1