2) Make these Piwik files available on the webserver, at eg. http://localhost/dev/piwik/ - Piwik does need to be installed to run tests, but this URL must work.
3) Copy phpunit.xml.dist to phpunit.xml
4) Edit in phpunit.xml the @REQUEST_URI@ and replace with the webserver path to Piwik, eg. '/dev/piwik/'
echo"\nPiwik should be running at: ".$piwikServerUrl."\nbut this URL returned an unexpected response: '".$fetched."'\n\n";
echo"\nPiwik should be running at: ".$piwikServerUrl."\nbut this URL returned an unexpected response: '".$fetched."'\n\n";
exit;
exit;
}
}
}
}
if(!$hasConfigBeenUpdated){
\ No newline at end of file
echo"WARNING: for tests to pass, you must first:
1) Install webserver on localhost, eg. apache
2) Make these Piwik files available on the webserver, at eg. http://localhost/dev/piwik/ - Piwik does need to be installed to run tests, but this URL must work.
3) Copy phpunit.xml.dist to phpunit.xml
4) Edit in phpunit.xml the @REQUEST_URI@ and replace with the webserver path to Piwik, eg. '/dev/piwik/'