From 7948bc9f7fd2d58c4fc9e7c9a3555610655c3581 Mon Sep 17 00:00:00 2001 From: Gerhard Jungwirth Date: Thu, 11 Jul 2013 11:18:51 +0200 Subject: [PATCH] rename the config location for the DBIC connect_info otherwise the changes will conflict with the configuration of ossbss --- lib/NGCP/Schema.pm | 2 +- t/test.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/NGCP/Schema.pm b/lib/NGCP/Schema.pm index ad04ff4a..c150e368 100644 --- a/lib/NGCP/Schema.pm +++ b/lib/NGCP/Schema.pm @@ -16,7 +16,7 @@ class_has('config', is => 'rw', isa => 'NGCP::Schema::Config', lazy => 1, defaul }); method connection { - $self->SUPER::connection($self->config->as_hash->{database}); + $self->SUPER::connection($self->config->as_hash->{ngcp_connect_info}); } method validate($data, $mandatory_params, $optional_params?) { diff --git a/t/test.conf b/t/test.conf index 0396f4a8..0608a837 100644 --- a/t/test.conf +++ b/t/test.conf @@ -25,7 +25,7 @@ tmpdir="/tmp" usrprefs_as_number="1" voicemail_map_via_number="0"> -