forked from ledgersmb/LedgerSMB
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
use Test::More tests => 13; | ||
|
||
chdir 't/data'; | ||
|
||
require '../../LedgerSMB/Sysconfig.pm'; | ||
|
||
is $LedgerSMB::Sysconfig::auth, 'DB2', 'Auth set correctly'; | ||
is $LedgerSMB::Sysconfig::logging, 1, 'Correct logging settings'; | ||
is $LedgerSMB::Sysconfig::tempdir, 'test', 'tempdir set correctly'; | ||
is $LedgerSMB::Sysconfig::cssdir, 'css3/', 'css dir set correctly'; | ||
is $LedgerSMB::Sysconfig::fs_cssdir, 'css4', 'css fs dir set correctly'; | ||
is $LedgerSMB::Sysconfig::cache_templates, 5, 'template caching working'; | ||
is $LedgerSMB::Sysconfig::language, 'en2', 'language set correctly'; | ||
is $LedgerSMB::Sysconfig::check_max_invoices, '52', | ||
'max invoices set correctly'; | ||
is $LedgerSMB::Sysconfig::max_post_size, 4194304333, | ||
'max post size set correctly'; | ||
is $LedgerSMB::Sysconfig::decimal_places, 22, 'money places set correctly'; | ||
|
||
is $LedgerSMB::Sysconfig::cookie_name, 'LedgerSMB-1.32', 'cookie set correctly'; | ||
is $LedgerSMB::Sysconfig::no_db_str, 'database2', | ||
'missing db string set correctly'; | ||
like $ENV{PATH}, '/foo$/', 'appends config path correctly'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters