2014-01-12 17:21:20 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$app = require __DIR__ . '/../vendor/autoload.php';
|
|
|
|
$app->add('Resume', __DIR__ . '/../src');
|
|
|
|
|
2017-10-16 19:00:50 -04:00
|
|
|
use PHPUnit\Framework\TestCase;
|
2014-01-12 17:21:20 -05:00
|
|
|
use Resume\Cli\Resume;
|
|
|
|
|
2017-10-16 19:00:50 -04:00
|
|
|
class ResumeTest extends TestCase
|
2014-01-12 17:21:20 -05:00
|
|
|
{
|
|
|
|
public $console;
|
|
|
|
|
|
|
|
public function setUp()
|
|
|
|
{
|
|
|
|
$templatePath = realpath(__DIR__ . '/../templates/');
|
|
|
|
$consoleTemplatePath = realpath(__DIR__ . '/../src/Resume/Templates');
|
|
|
|
$project = json_decode(file_get_contents(__DIR__ . '/../composer.json'));
|
|
|
|
$this->console = new Resume();
|
|
|
|
$this->console->initialize($templatePath, $consoleTemplatePath, $project);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* End file bootstrap.php */
|