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:
Marcel de Rooy 2016-12-13 14:10:45 +01:00 committed by Kyle M Hall
parent 41358176e1
commit ddf1d9bcdd
1 changed files with 2 additions and 2 deletions

View File

@ -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;