diff --git a/t/05_sanctions_redis.t b/t/05_sanctions_redis.t index 2823079..7c5faf7 100644 --- a/t/05_sanctions_redis.t +++ b/t/05_sanctions_redis.t @@ -200,8 +200,11 @@ subtest 'Update Data' => sub { # rewrite to redis if update (publish) time is changed set_fixed_time(1600); - $mock_data->{'EU-Sanctions'}->{updated} = 90; + $mock_data->{'EU-Sanctions'}->{updated} = 91; + $mock_data->{'UNSC-Sanctions'}->{updated} = 91; $validator->update_data(); + $expected->{'EU-Sanctions'}->{updated} = 91; + $expected->{'UNSC-Sanctions'}->{updated} = 91; $expected->{$_}->{verified} = 1600 for keys %$expected; is_deeply $validator->data, $expected, 'Data is loaded with new update time'; check_redis_content('EU-Sanctions', $mock_data->{'EU-Sanctions'}, 1600, 'Redis content changed by increased update time');