diff options
Diffstat (limited to 't/emi_mandatory.t')
-rw-r--r-- | t/emi_mandatory.t | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/t/emi_mandatory.t b/t/emi_mandatory.t index ce0a54b..49c3d0a 100644 --- a/t/emi_mandatory.t +++ b/t/emi_mandatory.t @@ -9,7 +9,7 @@ use Iurt::Emi; my $config = { mandatory_arch => ['i586', 'x86_64'] }; my %pkg_tree = ( '20160113183431.nobody.valstar.23515' => { - 'target' => 'cauldron', + 'target' => cauldron, 'media' => { 'core/release' => { 'done_arch' => { @@ -31,7 +31,7 @@ my %pkg_tree = ( ] }, '20160113183432.nobody.valstar.23515' => { - 'target' => 'cauldron', + 'target' => cauldron, 'media' => { 'core/release' => { 'done_arch' => { @@ -58,7 +58,7 @@ my %pkg_tree = ( ] }, '20160113183433.nobody.valstar.23515' => { - 'target' => 'cauldron', + 'target' => cauldron, 'media' => { 'core/release' => { 'done_arch' => { @@ -87,8 +87,8 @@ my %pkg_tree = ( my %targets = find_prefixes_ready_to_upload($config, %pkg_tree); # 20160113183431.nobody.valstar.23515 is not ready to upload, mandatory arch i586 is missing -ok(!('20160113183431.nobody.valstar.23515' ~~ @{$targets{'cauldron'}{'core/release'}{'to_upload'}}), 'mandatory architecture missing'); +ok(!('20160113183431.nobody.valstar.23515' ~~ @{$targets{cauldron}{'core/release'}{to_upload}}), 'mandatory architecture missing'); # 20160113183432.nobody.valstar.23515 is ready to upload, all arches are present -ok('20160113183432.nobody.valstar.23515' ~~ @{$targets{'cauldron'}{'core/release'}{'to_upload'}}, 'all mandatory architectures present'); +ok('20160113183432.nobody.valstar.23515' ~~ @{$targets{cauldron}{'core/release'}{to_upload}}, 'all mandatory architectures present'); # 20160113183433.nobody.valstar.23515 is ready to upload, i586 is excluded -ok('20160113183433.nobody.valstar.23515' ~~ @{$targets{'cauldron'}{'core/release'}{'to_upload'}}, 'mandatory architecture excluded'); +ok('20160113183433.nobody.valstar.23515' ~~ @{$targets{cauldron}{'core/release'}{to_upload}}, 'mandatory architecture excluded'); |