mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 07:55:47 +01:00
ZippenRepositoryTestBase should be extend AbstractTestBase to have a shiro environment
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
*/
|
||||
|
||||
|
||||
|
||||
package sonia.scm.repository.spi;
|
||||
|
||||
//~--- non-JDK imports --------------------------------------------------------
|
||||
@@ -41,6 +42,7 @@ import org.junit.Before;
|
||||
import org.junit.Rule;
|
||||
import org.junit.rules.TemporaryFolder;
|
||||
|
||||
import sonia.scm.AbstractTestBase;
|
||||
import sonia.scm.repository.Repository;
|
||||
import sonia.scm.repository.RepositoryTestData;
|
||||
import sonia.scm.util.IOUtil;
|
||||
@@ -63,7 +65,7 @@ import java.util.zip.ZipInputStream;
|
||||
*
|
||||
* @author Sebastian Sdorra
|
||||
*/
|
||||
public abstract class ZippedRepositoryTestBase
|
||||
public abstract class ZippedRepositoryTestBase extends AbstractTestBase
|
||||
{
|
||||
|
||||
/**
|
||||
@@ -104,7 +106,7 @@ public abstract class ZippedRepositoryTestBase
|
||||
{
|
||||
assertNotNull(date);
|
||||
assertTrue("Date should not be older than current date",
|
||||
date < System.currentTimeMillis());
|
||||
date < System.currentTimeMillis());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user