Skip to content

Commit

Permalink
[backend] fixed tests in 0015-BSSched-EventSource-Directory.t
Browse files Browse the repository at this point in the history
  • Loading branch information
M0ses committed Jan 20, 2021
1 parent ce8e211 commit 874bb00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/backend/t/0015-BSSched-EventSource-Directory.t
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ my $stdout_content;
},
{
'project' => 'devel:languages:perl:CPAN-S',
'evfilename' => 't/data/0015/events/x86_64/package:devel:languages:perl::perl-Unknown-Type',
'evfilename' => 't/data/0015/events/x86_64/package:devel:languages:perl::test-package',
'type' => 'unknown',
'package' => 'perl-SWISH'
},
Expand Down Expand Up @@ -223,10 +223,11 @@ $file_name =~ s/\//::/;

$ev_dir = "$eventdir_base/publish/";
$got = readxml("$ev_dir/$file_name",$BSXML::event);
delete $got->{time};
$expected = {
'repository' => 'openSUSE_Leap_42.1',
'project' => 'devel:languages:perl',
'type' => 'publish'
'type' => 'publish',
};

is_deeply($got,$expected,"Checking sendpublishevent");
Expand Down

0 comments on commit 874bb00

Please sign in to comment.