mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-15 04:31:34 +01:00
Add a todo
This commit is contained in:
parent
a2c4f150c5
commit
84f0ef5e1c
@ -589,7 +589,7 @@ public abstract class SQLDB extends Database {
|
|||||||
if (success) {
|
if (success) {
|
||||||
commit();
|
commit();
|
||||||
} else {
|
} else {
|
||||||
rollback();
|
rollback(); // TODO Tests for this case
|
||||||
}
|
}
|
||||||
} catch (SQLException e) {
|
} catch (SQLException e) {
|
||||||
Log.toLog(this.getClass().getName(), e);
|
Log.toLog(this.getClass().getName(), e);
|
||||||
|
@ -26,7 +26,7 @@ public class PermissionsTest {
|
|||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testGetPermission() {
|
public void testGetPermission() {
|
||||||
assertEquals("plan.inspect.other", Permissions.INSPECT_OTHER.getPermission());
|
assertEquals("plan.inspect.other", Permissions.INSPECT_OTHER.getPerm());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user