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

SF.net SVN: ledger-smb:[6951] trunk/LedgerSMB/Upgrade_Tests.pm



Revision: 6951
          http://sourceforge.net/p/ledger-smb/code/6951
Author:   einhverfr
Date:     2014-03-28 03:03:45 +0000 (Fri, 28 Mar 2014)
Log Message:
-----------
Fixing partsgroup test.

Modified Paths:
--------------
    trunk/LedgerSMB/Upgrade_Tests.pm

Modified: trunk/LedgerSMB/Upgrade_Tests.pm
===================================================================
--- trunk/LedgerSMB/Upgrade_Tests.pm	2014-03-26 03:29:27 UTC (rev 6950)
+++ trunk/LedgerSMB/Upgrade_Tests.pm	2014-03-28 03:03:45 UTC (rev 6951)
@@ -437,7 +437,8 @@
 push @tests, __PACKAGE__->new(
     test_query => "select *
                      from partscustomer
-                    where not exists (select 1
+                    where pricegroup_id is not null and
+                          not exists (select 1
                                         from pricegroup
                                        where id = pricegroup_id)",
     display_name => $LedgerSMB::App_State::Locale->text('Non-existing customer pricegroups in partscustomer'),

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


------------------------------------------------------------------------------
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits