[Koha-bugs] [Bug 10528] UT: C4::Bookseller.pm needs unit tests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 16 07:45:23 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10528

Srdjan Jankovic <srdjan at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |srdjan at catalyst.net.nz

--- Comment #2 from Srdjan Jankovic <srdjan at catalyst.net.nz> ---
There's something wrong with the patch:
git am --reject ~/Bug-10528-C4Booksellers-needs-unit-tests.patch
Applying: Bug 10528: C4::Booksellers needs unit tests
Checking patch C4/Bookseller.pm...
error: while searching for:
sub ModBookseller {
    my ($data) = @_;
    my $dbh    = C4::Context->dbh;
    my $query  = q|
        UPDATE aqbooksellers
        SET name = ?,      address1 = ?,     address2 = ?,      address3 = ?, 
address4 = ?,

error: patch failed: C4/Bookseller.pm:226
error: while searching for:
        ,$data->{notes}        ,$data->{deliverytime}
        ,$data->{id}
    );
    return;
}

=head2 DelBookseller

error: patch failed: C4/Bookseller.pm:254
Checking patch t/db_dependent/Bookseller.t...
/home/srdjan/koha/dev/.git/rebase-apply/patch:786: new blank line at EOF.
+

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list