Bug 26057: (QA follow-up) Drop test for 'reason'

We decided this test was superflous to requirements and as such I've
removed it as requested.

Signed-off-by: Kathleen Milne <kathleen.milne@cne-siar.gov.uk>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Martin Renvoize 2021-01-21 14:27:44 +00:00 committed by Jonathan Druart
parent 9378fb03a7
commit 26b6f2f1d0
1 changed files with 1 additions and 2 deletions

View File

@ -208,7 +208,7 @@ subtest 'in_transit tests' => sub {
};
subtest 'cancel tests' => sub {
plan tests => 6;
plan tests => 5;
$schema->storage->txn_begin;
@ -256,7 +256,6 @@ subtest 'cancel tests' => sub {
$transfer->cancel($cancellation_reason);
ok( $transfer->datecancelled, 'Cancellation date set upon call to cancel' );
is( $transfer->cancellation_reason, 'Manual', 'Cancellation reason is set');
is( $transfer->reason, 'Manual', 'Reason is not updated by cancelling the transfer' );
$schema->storage->txn_rollback;
};