- Fix syntax error in supplied test
- remove subscriptionid as a field returned by GetInvoices(), as
the is_linked_to_subscriptions Boolean takes its place.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
my $dbh = C4::Context->dbh;
my $query = qq{
SELECT aqinvoices.*, aqbooksellers.name AS suppliername,
- aqorders.subscriptionid,
COUNT(
DISTINCT IF(
aqorders.datereceived IS NOT NULL,
use C4::Bookseller qw( GetBookSellerFromId );
use C4::Biblio qw( AddBiblio );
-use Test::More tests => 21;
+use Test::More tests => 22;
BEGIN {
use_ok('C4::Acquisition');
? $_
: ()
} @invoices;
-is_deeply( \@invoices_linked_to_subscriptions, [], "GetInvoices return linked_to_subscriptions: there is no invoices linked to subscriptions yet" )
+is_deeply( \@invoices_linked_to_subscriptions, [], "GetInvoices return linked_to_subscriptions: there is no invoices linked to subscriptions yet" );
END {
$dbh and $dbh->rollback;