Bug 15339: Remove extra 'my'

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2017-09-07 13:55:01 -03:00
parent 8cb6ed24ff
commit 6260514593

View file

@ -42,7 +42,7 @@ subtest 'Start with some trivial tests' => sub {
isnt( $builder, undef, 'We got a builder' );
my $data;
warning_like { my $data = $builder->build; } qr/.+/, 'Catch a warning';
warning_like { $data = $builder->build; } qr/.+/, 'Catch a warning';
is( $data, undef, 'build without arguments returns undef' );
is( ref( $builder->schema ), 'Koha::Schema', 'check schema' );
is( ref( $builder->can('delete') ), 'CODE', 'found delete method' );