Update tests only for Oracle

This commit is contained in:
Rob Bygrave committed 2021-09-23 18:49:28 +12:00
1 parent 35a6ff7f02
commit 9af006b15b
14 files changed
+51 -41

No files matched your search

@@ -143,7 +143,7 @@ public abstract class BaseTestCase {
}
protected String trimSql(String sql) {
if (sql.contains(" c0,") || sql.contains(" c0 ") || sql.contains(" c1,") || sql.contains(" c1 ")) {
if (sql.contains(" c0 from ") || sql.contains(" c0,") || sql.contains(" c0 ") || sql.contains(" c1,") || sql.contains(" c1 ")) {
// for oracle we include column alias so lets remove those
return trimSql(sql, 10);
}
@@ -25,7 +25,7 @@ public class PlatformCondition implements ExecutionCondition {
}
IgnorePlatform ignore = annotatedElement.getAnnotation(IgnorePlatform.class);
if (ignore != null && platformMath(ignore.value())) {
return ConditionEvaluationResult.disabled("@ForPlatform");
return ConditionEvaluationResult.disabled("@IgnorePlatform");
}
}
return ENABLED;