Skip to content

Commit 5350741

Browse files
committed
Add schema support assumption to test
1 parent c3ea491 commit 5350741

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/test/org/firebirdsql/jdbc/FBDatabaseMetaDataFunctionsTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
import static org.firebirdsql.common.FBTestProperties.getConnectionViaDriverManager;
3131
import static org.firebirdsql.common.FBTestProperties.getDefaultSupportInfo;
3232
import static org.firebirdsql.common.FBTestProperties.ifSchemaElse;
33+
import static org.firebirdsql.common.FbAssumptions.assumeFeature;
3334
import static org.junit.jupiter.api.Assertions.assertFalse;
3435
import static org.junit.jupiter.api.Assertions.assertTrue;
3536
import static org.junit.jupiter.api.Assertions.fail;
@@ -192,6 +193,7 @@ void testFunctionMetadata_everything_functionNamePattern(String schemaPattern, S
192193
""")
193194
void testFunctionMetadata_everything_ofOtherSchema(String schemaPattern, String functionNamePattern)
194195
throws Exception {
196+
assumeFeature(FirebirdSupportInfo::supportsSchemas, "Test requires schema support");
195197
var expectedFunctions = List.of(getOtherSchemaPsqlExample(), getOtherSchemaPsqlExample2());
196198
validateExpectedFunctions(null, schemaPattern, functionNamePattern, expectedFunctions);
197199
}

0 commit comments

Comments
 (0)