Skip to content

Commit

Permalink
adjust test case output
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Nov 12, 2024
1 parent 26f20f1 commit 4eda653
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion t/scenarios/agents-plugin/t/local/omd/omd.t
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ TestUtils::test_command({

###########################################################
# initialize object configs
TestUtils::test_command({ cmd => '/usr/bin/env thruk r -d "" /config/check', like => ['/Running\ configuration\ check/'] });
TestUtils::test_command({ cmd => '/usr/bin/env thruk r -d "" /config/check', like => ['/Running\ (naemon\ |)configuration\ check/'] });

###########################################################
# create example host
Expand Down
2 changes: 1 addition & 1 deletion t/scenarios/backend_mixed_source/t/301-config-tool.t
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ _test_page({
_test_page({
url => 'POST /config/check',
post => {},
like => ['"failed" : false,', 'Running configuration check'],
like => ['"failed" : false,', 'Running (naemon |)configuration check'],
});
_test_page({
url => 'POST /config/save',
Expand Down
2 changes: 1 addition & 1 deletion t/scenarios/rest_api/t/301-controller_rest_config.t
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ my $pages = [{
}, {
url => 'POST /config/check',
post => {},
like => ['"failed" : false,', 'Running configuration check'],
like => ['"failed" : false,', 'Running (naemon |)configuration check'],
}, {
url => 'POST /config/save',
post => {},
Expand Down

0 comments on commit 4eda653

Please sign in to comment.