Search in sources :

Example 1 with KillsOptimizationPatch

use of com.djrapitops.plan.storage.database.transactions.patches.KillsOptimizationPatch in project Plan by plan-player-analytics.

the class DBPatchMySQLRegressionTest method mysqlDoesNotApplyKillsOptimizationPatchAgain.

@Test
void mysqlDoesNotApplyKillsOptimizationPatchAgain() {
    mysqlPatchesAreApplied();
    KillsOptimizationPatch patch = new KillsOptimizationPatch();
    underTest.executeTransaction(patch);
    assertTrue(patch.isApplied());
    assertFalse(patch.wasApplied());
}
Also used : KillsOptimizationPatch(com.djrapitops.plan.storage.database.transactions.patches.KillsOptimizationPatch)

Aggregations

KillsOptimizationPatch (com.djrapitops.plan.storage.database.transactions.patches.KillsOptimizationPatch)1