From 10b4ae5f4777e62e484b6aef8f33419170f049b8 Mon Sep 17 00:00:00 2001 From: A248 Date: Mon, 11 Sep 2023 21:59:48 -0500 Subject: [PATCH] fix --- bans-core/src/main/resources/contributors | 1 + .../it/test/applicable/OptimizedQueriesIT.java | 15 ++++++--------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/bans-core/src/main/resources/contributors b/bans-core/src/main/resources/contributors index d5b94be1a..8960fcb4c 100644 --- a/bans-core/src/main/resources/contributors +++ b/bans-core/src/main/resources/contributors @@ -12,6 +12,7 @@ FranMC23 FreakyRed Gamer153 gepron1x +MCMDEV IceWaffles potatoru SnakeAmazing diff --git a/bans-core/src/test/java/space/arim/libertybans/it/test/applicable/OptimizedQueriesIT.java b/bans-core/src/test/java/space/arim/libertybans/it/test/applicable/OptimizedQueriesIT.java index 86c1747e9..b1b012ff7 100644 --- a/bans-core/src/test/java/space/arim/libertybans/it/test/applicable/OptimizedQueriesIT.java +++ b/bans-core/src/test/java/space/arim/libertybans/it/test/applicable/OptimizedQueriesIT.java @@ -92,9 +92,8 @@ private String renderHandwrittenQuery(DSLContext context, UUID uuid, NetworkAddr case LENIENT -> context .select( simpleView.victimType(), simpleView.victimUuid(), simpleView.victimAddress(), - simpleView.operator(), simpleView.reason(), - simpleView.scope(), simpleView.start(), simpleView.end(), simpleView.track(), - simpleView.id() + simpleView.operator(), simpleView.reason(), simpleView.scopeType(), simpleView.scope(), + simpleView.start(), simpleView.end(), simpleView.track(), simpleView.id() ) .from(simpleView.table()) .where(new EndTimeCondition(simpleView).isNotExpired(Instant.EPOCH)) @@ -104,9 +103,8 @@ private String renderHandwrittenQuery(DSLContext context, UUID uuid, NetworkAddr case NORMAL -> context .select( applView.victimType(), applView.victimUuid(), applView.victimAddress(), - applView.operator(), applView.reason(), - applView.scope(), applView.start(), applView.end(), applView.track(), - applView.id() + applView.operator(), applView.reason(), applView.scopeType(), applView.scope(), + applView.start(), applView.end(), applView.track(), applView.id() ).from(applView.table()) .where(new EndTimeCondition(applView).isNotExpired(Instant.EPOCH)) .and(applView.uuid().eq(uuid)) @@ -115,9 +113,8 @@ private String renderHandwrittenQuery(DSLContext context, UUID uuid, NetworkAddr case STERN, STRICT -> context .select( applView.victimType(), applView.victimUuid(), applView.victimAddress(), - applView.operator(), applView.reason(), - applView.scope(), applView.start(), applView.end(), applView.track(), - applView.id() + applView.operator(), applView.reason(), applView.scopeType(), applView.scope(), + applView.start(), applView.end(), applView.track(), applView.id() ).from(applView.table()) .innerJoin(STRICT_LINKS) .on(applView.uuid().eq(STRICT_LINKS.UUID1))