Bug 15339: Remove extra 'my'
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
8cb6ed24ff
commit
6260514593
1 changed files with 1 additions and 1 deletions
|
@ -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' );
|
||||
|
|
Loading…
Reference in a new issue