From 4795971695de9313e258981da70b05e422546eee Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Tue, 27 Jun 2023 21:17:49 +0200 Subject: [PATCH] fix import SQL test --- t/MojoFacets-Import-SQL.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/MojoFacets-Import-SQL.t b/t/MojoFacets-Import-SQL.t index 9fbc2e5..b04e067 100755 --- a/t/MojoFacets-Import-SQL.t +++ b/t/MojoFacets-Import-SQL.t @@ -10,10 +10,10 @@ use lib 'lib'; use_ok('MojoFacets::Import::SQL'); -my $sql = $ARGV[0] || (glob 'data/*.sql')[0]; +my $sql = $ARGV[0] || (glob 'data/gadgetbridge/activity.sql')[0]; diag "using $sql"; -ok( my $o = MojoFacets::Import::SQL->new( path => $sql ), 'new' ); +ok( my $o = MojoFacets::Import::SQL->new( full_path => $sql ), 'new' ); ok( my $data = $o->data, 'data' ); diag dump($data); -- 2.20.1