From 84f0ef5e1cdc48231daa8d3b11e71073587e2308 Mon Sep 17 00:00:00 2001 From: Rsl1122 Date: Tue, 15 Aug 2017 18:33:51 +0300 Subject: [PATCH] Add a todo --- .../java/com/djrapitops/plan/database/databases/SQLDB.java | 2 +- .../java/main/java/com/djrapitops/plan/PermissionsTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Plan/src/main/java/com/djrapitops/plan/database/databases/SQLDB.java b/Plan/src/main/java/com/djrapitops/plan/database/databases/SQLDB.java index 669aea4b1..53f50f191 100644 --- a/Plan/src/main/java/com/djrapitops/plan/database/databases/SQLDB.java +++ b/Plan/src/main/java/com/djrapitops/plan/database/databases/SQLDB.java @@ -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); diff --git a/Plan/src/test/java/main/java/com/djrapitops/plan/PermissionsTest.java b/Plan/src/test/java/main/java/com/djrapitops/plan/PermissionsTest.java index de7276592..0d2c79a46 100644 --- a/Plan/src/test/java/main/java/com/djrapitops/plan/PermissionsTest.java +++ b/Plan/src/test/java/main/java/com/djrapitops/plan/PermissionsTest.java @@ -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()); } -} +} \ No newline at end of file