mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 07:55:47 +01:00
add unit test for DefaultSecuritySystem
This commit is contained in:
@@ -151,6 +151,7 @@ public class AbstractTestBase
|
||||
try
|
||||
{
|
||||
preTearDown();
|
||||
clearSubject();
|
||||
}
|
||||
finally
|
||||
{
|
||||
@@ -179,7 +180,7 @@ public class AbstractTestBase
|
||||
//~--- methods --------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Clears Shiro's thread state, ensuring the thread remains clean for
|
||||
* Clears Shiro's thread state, ensuring the thread remains clean for
|
||||
* future test execution.
|
||||
*/
|
||||
protected void clearSubject()
|
||||
|
||||
Reference in New Issue
Block a user