Skip to content

Commit

Permalink
Explicitly specify the plugin to fix test failure on GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
mrotteveel committed May 9, 2024
1 parent 9fecfbe commit 79fb276
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ void createDatabaseIfNotExist() throws Exception {
@Test
void createWithNonPrivilegedUser_shouldFail() throws Exception {
assumeFeature(FirebirdSupportInfo::supportsMetadataPrivileges, "Test requires CREATE DATABASE privileges");
databaseUser.createUser(NO_CREATE_DB_PRIVILEGE_USER, NO_CREATE_DB_PRIVILEGE_PASSWORD);
databaseUser.createUser(NO_CREATE_DB_PRIVILEGE_USER, NO_CREATE_DB_PRIVILEGE_PASSWORD, "Srp");
var exception = assertThrows(SQLException.class, () ->
getConnection(Map.of(
PropertyNames.user, NO_CREATE_DB_PRIVILEGE_USER,
Expand All @@ -100,7 +100,7 @@ void createWithNonPrivilegedUser_shouldFail() throws Exception {

@Test
void createOverrideNonPrivilegedUserWithPrivilegedUser() throws Exception {
databaseUser.createUser(NO_CREATE_DB_PRIVILEGE_USER, NO_CREATE_DB_PRIVILEGE_PASSWORD);
databaseUser.createUser(NO_CREATE_DB_PRIVILEGE_USER, NO_CREATE_DB_PRIVILEGE_PASSWORD, "Srp");
try (var connection = getConnection(Map.of(
PropertyNames.user, NO_CREATE_DB_PRIVILEGE_USER,
PropertyNames.password, NO_CREATE_DB_PRIVILEGE_PASSWORD,
Expand Down

0 comments on commit 79fb276

Please sign in to comment.