Private GIT

Skip to content
Snippets Groups Projects
Commit 0a49a064 authored by Kevin Duret's avatar Kevin Duret
Browse files

test(acceptance): fix newman command to work with new version

parent fdb8b9e8
Branches
Tags
No related merge requests found
...@@ -81,9 +81,9 @@ class RestApiContext extends CentreonContext ...@@ -81,9 +81,9 @@ class RestApiContext extends CentreonContext
$this->logfile = tempnam('/tmp', $this->logFilePrefix); $this->logfile = tempnam('/tmp', $this->logFilePrefix);
exec( exec(
'newman run' . 'newman run' .
' tests/rest_api/' . $this->restCollection .
' --no-color --disable-unicode --reporter-cli-no-assertions' . ' --no-color --disable-unicode --reporter-cli-no-assertions' .
' --environment ' . $this->envfile . ' --environment ' . $this->envfile .
' tests/rest_api/' . $this->restCollection .
' > ' . $this->logfile, ' > ' . $this->logfile,
$output, $output,
$retval $retval
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment