Skip to content

Commit

Permalink
fix psql driver name and url
Browse files Browse the repository at this point in the history
  • Loading branch information
Siedlerchr committed Oct 9, 2019
1 parent 09b131b commit c284667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/org/jabref/logic/shared/DBMSTypeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public void testToString() {
public void testGetDriverClassPath() {
assertEquals("org.mariadb.jdbc.Driver", DBMSType.MYSQL.getDriverClassPath());
assertEquals("oracle.jdbc.driver.OracleDriver", DBMSType.ORACLE.getDriverClassPath());
assertEquals("com.impossibl.postgres.jdbc.PGDriver", DBMSType.POSTGRESQL.getDriverClassPath());
assertEquals("org.postgresql.Drive", DBMSType.POSTGRESQL.getDriverClassPath());
}

@Test
Expand All @@ -37,7 +37,7 @@ public void testFromString() {
public void testGetUrl() {
assertEquals("jdbc:mariadb://localhost:3306/xe", DBMSType.MYSQL.getUrl("localhost", 3306, "xe"));
assertEquals("jdbc:oracle:thin:@localhost:1521:xe", DBMSType.ORACLE.getUrl("localhost", 1521, "xe"));
assertEquals("jdbc:pgsql://localhost:5432/xe", DBMSType.POSTGRESQL.getUrl("localhost", 5432, "xe"));
assertEquals("jdbc:postgresql://localhost:5432/xe", DBMSType.POSTGRESQL.getUrl("localhost", 5432, "xe"));
}

@Test
Expand Down

0 comments on commit c284667

Please # to comment.