Bug 17726: [QA Follow-up] Add test descriptions
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit ddf1d9bcdd)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
This commit is contained in:
parent
abd7febc1e
commit
958c158122
|
|
@ -336,9 +336,9 @@ subtest 'Default values' => sub {
|
|||
plan tests => 2;
|
||||
$builder = t::lib::TestBuilder->new;
|
||||
my $item = $builder->build( { source => 'Item' } );
|
||||
is( $item->{more_subfields_xml}, undef );
|
||||
is( $item->{more_subfields_xml}, undef, 'This xml field should be undef' );
|
||||
$item = $builder->build( { source => 'Item', value => { more_subfields_xml => 'some xml' } } );
|
||||
is( $item->{more_subfields_xml}, 'some xml' );
|
||||
is( $item->{more_subfields_xml}, 'some xml', 'Default should not overwrite assigned value' );
|
||||
};
|
||||
|
||||
$schema->storage->txn_rollback;
|
||||
|
|
|
|||
Loading…
Reference in New Issue