@@ -10,22 +10,22 @@ use crate::{
1010 celery:: { CeleryDatabaseConnection , GenericCeleryDatabaseConnection } ,
1111 jdbc:: { GenericJDBCDatabaseConnection , JDBCDatabaseConnection } ,
1212 } ,
13- server:: { postgres :: PostgresqlConnection , redis:: RedisConnection } ,
13+ server:: { postgresql :: PostgresqlConnection , redis:: RedisConnection } ,
1414 } ,
1515} ;
1616
1717#[ derive( Clone , Debug , Deserialize , JsonSchema , PartialEq , Serialize ) ]
1818#[ serde( rename_all = "camelCase" ) ]
1919enum DummyJDBCConnection {
20- Postgres ( PostgresqlConnection ) ,
20+ Postgresql ( PostgresqlConnection ) ,
2121 #[ allow( unused) ]
2222 Generic ( GenericJDBCDatabaseConnection ) ,
2323}
2424
2525impl DummyJDBCConnection {
2626 fn as_jdbc_database_connection ( & self ) -> & dyn JDBCDatabaseConnection {
2727 match self {
28- Self :: Postgres ( p) => p,
28+ Self :: Postgresql ( p) => p,
2929 Self :: Generic ( g) => g,
3030 }
3131 }
@@ -51,7 +51,7 @@ impl DummyCeleryConnection {
5151#[ test]
5252fn test_dummy_jdbc_database_usage ( ) {
5353 // Set up test data
54- let dummy_jdbc_connection = DummyJDBCConnection :: Postgres ( PostgresqlConnection {
54+ let dummy_jdbc_connection = DummyJDBCConnection :: Postgresql ( PostgresqlConnection {
5555 host : "my-database" . parse ( ) . expect ( "static host is always valid" ) ,
5656 port : 1234 ,
5757 database : "my_schema" . to_owned ( ) ,
0 commit comments