From 81db2cb79dc657fb3cfe79036e836a95dc334ec2 Mon Sep 17 00:00:00 2001 From: "Mark H. Wood" Date: Fri, 3 Aug 2012 13:59:00 -0400 Subject: [PATCH] Tidy up, fix licensing again --- .../src/test/java/org/dspace/eperson/EPersonTest.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dspace-api/src/test/java/org/dspace/eperson/EPersonTest.java b/dspace-api/src/test/java/org/dspace/eperson/EPersonTest.java index 0531c90192..c95b042aa2 100644 --- a/dspace-api/src/test/java/org/dspace/eperson/EPersonTest.java +++ b/dspace-api/src/test/java/org/dspace/eperson/EPersonTest.java @@ -1,3 +1,10 @@ +/** + * The contents of this file are subject to the license and copyright + * detailed in the LICENSE and NOTICE files at the root of the source + * tree and available online at + * + * http://www.dspace.org/license/ + */ package org.dspace.eperson; @@ -697,6 +704,8 @@ public class EPersonTest assertEquals("should have upgraded algorithm", PasswordHash.getDefaultAlgorithm(), instance.getPasswordHash().getAlgorithm()); + assertTrue("upgraded hash should still match", + instance.checkPassword(attempt)); // TODO test a salted multiround hash }