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>
This commit is contained in:
parent
41358176e1
commit
ddf1d9bcdd
|
|
@ -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