mirror of
https://github.com/ToxicCrack/PrintABrick.git
synced 2025-05-17 04:40:08 -07:00
24 lines
513 B
PHP
24 lines
513 B
PHP
<?php
|
|
|
|
namespace Tests\FrontBundle\Controller;
|
|
|
|
use Tests\AppBundle\BaseTest;
|
|
use Tests\AppBundle\Fixtures\LoadBaseData;
|
|
|
|
abstract class BaseControllerTest extends BaseTest
|
|
{
|
|
public function setUp()
|
|
{
|
|
parent::setUp();
|
|
|
|
// If you are using the Doctrine Fixtures Bundle you could load these here
|
|
$this->loadFixtures([
|
|
LoadBaseData::class,
|
|
]);
|
|
|
|
$this->filesystem->write('models/1.stl', 'abcd');
|
|
|
|
$this->runCommand('fos:elastica:populate');
|
|
}
|
|
}
|