[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[6688] trunk/t/62-api.t



Revision: 6688
          http://sourceforge.net/p/ledger-smb/code/6688
Author:   einhverfr
Date:     2014-01-28 10:47:18 +0000 (Tue, 28 Jan 2014)
Log Message:
-----------
fixing report loading on 62-api.t

Modified Paths:
--------------
    trunk/t/62-api.t

Modified: trunk/t/62-api.t
===================================================================
--- trunk/t/62-api.t	2014-01-28 10:42:22 UTC (rev 6687)
+++ trunk/t/62-api.t	2014-01-28 10:47:18 UTC (rev 6688)
@@ -4,6 +4,8 @@
 	use LedgerSMB::Template;
 	use LedgerSMB::Sysconfig;
 	use LedgerSMB::DBTest;
+        use LedgerSMB::App_State;
+        use LedgerSMB::Locale;
 }
 
 # TODO: FIXME
@@ -16,6 +18,9 @@
 # or regularly in the code.
 # LedgerSMB::Template contains render and _http_output
 # LedgerSMB contains error
+
+LedgerSMB::App_State::set_Locale(LedgerSMB::Locale->get_handle('en'));
+
 no warnings 'redefine';
 
 if (defined $ENV{LSMB_TEST_DB}){
@@ -33,8 +38,8 @@
 @test_request_data = do { 't/data/62-request-data' } ; # Import test case hashes
 
 for (qw(	drafts     login      payment      
-		employee   menu.pl       vendor
-		customer  inventory  vouchers recon menu)
+		employee   menu       contact
+		inventory  vouchers recon)
     ){
 	ok(eval { require "LedgerSMB/Scripts/$_.pm" }, "Importing $_");
 	if ($@){

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits