https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16977

            Bug ID: 16977
           Summary: REST tests cleanup ineffective
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

I'm having issues with REST tests. It seems that whenever the test uses
authentication, e.g.

my $tx = $t->ua->build_tx(GET => '/api/v1/patrons');
$tx->req->cookies({name => 'CGISESSID', value => $session->id});
$t->request_ok($tx) ...

the test does not cleanup database correctly. This can be currently seen in
t/db_dependent/api/v1/patrons.t. For holds.t (the other REST test in master at
the time of reporting this bug) there is at the moment no authentication and it
seems to cleanup nicely.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to