]> Dogcows Code - chaz/p5-File-KDBX/blobdiff - t/entry.t
Add key file saving and refactor some stuff
[chaz/p5-File-KDBX] / t / entry.t
index a4286cffa63821b7a42d85f72f14eaab118f3d15..9171eb4cfa7eaf55e2a4dde54050442c22038ca3 100644 (file)
--- a/t/entry.t
+++ b/t/entry.t
@@ -6,12 +6,11 @@ use strict;
 use lib 't/lib';
 use TestCommon;
 
+use File::KDBX::Entry;
 use File::KDBX;
 use Test::Deep;
 use Test::More;
 
-BEGIN { use_ok 'File::KDBX::Entry' }
-
 subtest 'Construction' => sub {
     my $entry = File::KDBX::Entry->new(my $data = {username => 'foo'});
     is $entry, $data, 'Provided data structure becomes the object';
@@ -37,6 +36,7 @@ subtest 'Construction' => sub {
         custom_data => {},
         custom_icon_uuid => undef,
         foreground_color => "",
+        history => [],
         icon_id => "Password",
         override_url => "",
         previous_parent_group => undef,
This page took 0.016503 seconds and 4 git commands to generate.