23 lines
639 B
PHP
23 lines
639 B
PHP
<?php
|
|
|
|
$app = require __DIR__ . '/../vendor/autoload.php';
|
|
$app->add('Resume', __DIR__ . '/../src');
|
|
|
|
use Resume\Cli\Resume;
|
|
|
|
class ResumeTest extends \PHPUnit_Framework_TestCase
|
|
{
|
|
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 */
|