Integration.php
<?php
namespace Liaison\Test\Integration;
// require_once(__DIR__.'/../autoload.php');
class Integration extends \Taeluf\Tester {
public function testAboutPage(){
$this->disable();
return;
$lia = new \Liaison();
$lia->set('lia.cacheDir', __DIR__.'/../../test-extra/Integration-Package/cache/');
$integration = new \Lia\Package($lia, __DIR__.'/../../test-extra/Integration-Package');
// $route = $lia->route('/');
$lia->deliver('/about/','GET');
}
public function testHomePage(){
$this->disable();
return;
$lia = new \Liaison();
$lia->set('lia.cacheDir', __DIR__.'/../../test-extra/Integration-Package/cache/');
$integration = new \Lia\Package($lia, __DIR__.'/../../test-extra/Integration-Package');
// $route = $lia->route('/');
$lia->deliver('/','GET');
}
}
Integration::runAll();
// Integration::runAllToFile(__DIR__.'/Integration-test.html',true);
// Integration::xdotoolRefreshFirefox();