Add a todo

This commit is contained in:
Rsl1122 2017-08-15 18:33:51 +03:00
parent a2c4f150c5
commit 84f0ef5e1c
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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());
} }
} }