From af0f01f87d80dbe8f157dfb6fb9864d5c48e55fa Mon Sep 17 00:00:00 2001 From: "victor.soulier" Date: Thu, 16 Nov 2023 20:22:06 +0100 Subject: [PATCH] Set test db config --- project/src/config/config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/src/config/config.php b/project/src/config/config.php index 9d3af8d..30d0d8e 100644 --- a/project/src/config/config.php +++ b/project/src/config/config.php @@ -3,8 +3,8 @@ namespace config; $config = [ "rep" => __DIR__.'/../', - "db" => ["dsn" => '', - "login" => '', + "db" => ["dsn" => 'pgsql:host=localhost;port=5432;dbname=sae2a', + "login" => 'postgres', "mdp" =>''], "vues" => ["index" => 'vues/index.php'] ];