Skip to content

Commit

Permalink
refactor: EXPOSED-728 [SQLite] Remove ENABLE_UPDATE_DELETE_LIMIT meta…
Browse files Browse the repository at this point in the history
…data check from core function provider

Fix incorrect test exclusion
  • Loading branch information
bog-walk committed Feb 11, 2025
1 parent 21e35de commit 50c20e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class DeleteTests : DatabaseTestsBase() {
withCitiesAndUsers { _, _, userData ->
// EXPOSED-729: Oracle is not currently set up to allow LIMIT syntax, even though it is possible like with UPDATE
// https://youtrack.jetbrains.com/issue/EXPOSED-729/Oracle-Allow-setting-limit-with-DELETE
if (currentTestDB == TestDB.ORACLE || !currentDialectTest.supportsLimitWithUpdateOrDelete()) {
if (currentTestDB in TestDB.ALL_ORACLE_LIKE || !currentDialectTest.supportsLimitWithUpdateOrDelete()) {
expectException<UnsupportedByDialectException> {
userData.deleteWhere(limit = 1) { userData.value eq 20 }
}
Expand Down

0 comments on commit 50c20e5

Please sign in to comment.