diff --git a/packages/orm/angel_orm_postgres/test/common.dart b/packages/orm/angel_orm_postgres/test/common.dart index 664469ec..6464b73f 100644 --- a/packages/orm/angel_orm_postgres/test/common.dart +++ b/packages/orm/angel_orm_postgres/test/common.dart @@ -21,7 +21,7 @@ Future closePg(QueryExecutor executor) async { Future connectToPostgres(Iterable schemas) async { var host = Platform.environment['POSTGRES_HOST'] ?? 'localhost'; - var database = Platform.environment['POSTGRES_NAME'] ?? 'orm_test'; + var database = Platform.environment['POSTGRES_DB'] ?? 'orm_test'; var username = Platform.environment['POSTGRES_USERNAME'] ?? 'test'; var password = Platform.environment['POSTGRES_PASSWORD'] ?? 'test123';