X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F08yaml.t;fp=t%2F08yaml.t;h=de4f36d7956c577bded47626ef8adb110f87f7eb;hb=ba2735b6164f953e9d590a8671aec8799e615327;hp=e54efb181062ae1ad3458d7d0eebf31fea558ec2;hpb=4aa6d1df60ed0badf3b74ec4ffc3ce45074c92be;p=catagits%2FCatalyst-Plugin-Scheduler.git diff --git a/t/08yaml.t b/t/08yaml.t index e54efb1..de4f36d 100644 --- a/t/08yaml.t +++ b/t/08yaml.t @@ -12,10 +12,10 @@ plan tests => 6; use Catalyst::Test 'TestApp'; our $STATE = "$FindBin::Bin/lib/TestApp/scheduler.state"; +our $BASE = 'Catalyst::Plugin::Scheduler::Base'; # hack the last event check to make all events execute immediately -my $state = { last_check => 0 }; -lock_store $state, $STATE; +$BASE->_last_check_time( 0 ); # configure a yaml file TestApp->config->{scheduler}->{yaml_file}