This commit is contained in:
Fuzzlemann 2017-08-15 19:08:46 +02:00
commit fd68be94ee
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());
} }
} }