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) {
commit();
} else {
rollback();
rollback(); // TODO Tests for this case
}
} catch (SQLException e) {
Log.toLog(this.getClass().getName(), e);

View File

@ -26,7 +26,7 @@ public class PermissionsTest {
*/
@Test
public void testGetPermission() {
assertEquals("plan.inspect.other", Permissions.INSPECT_OTHER.getPermission());
assertEquals("plan.inspect.other", Permissions.INSPECT_OTHER.getPerm());
}
}
}