This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace RC\FixtureAutoLoadBundle\Test; | |
use Symfony\Component\Console\Output\ConsoleOutput; | |
use Symfony\Bridge\Doctrine\DataFixtures\ContainerAwareLoader; | |
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; | |
use Doctrine\ODM\MongoDB\DocumentManager; | |
use Doctrine\Common\DataFixtures\Executor\MongoDBExecutor; | |
use Doctrine\Common\DataFixtures\Purger\MongoDBPurger; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant::Config.run do |config| | |
config.vm.provision OnHostProvisioner | |
end | |
class OnHostProvisioner < Vagrant::Provisioners::Base | |
def provision! | |
env[:vm].channel.execute("/home/vagrant/provision.sh") | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Schuh\BlogBundle\DataFixtures\ODM; | |
use Doctrine\Common\DataFixtures\AbstractFixture; | |
use Doctrine\Common\DataFixtures\OrderedFixtureInterface; | |
use Doctrine\Common\Persistence\ObjectManager; | |
use Schuh\BlogBundle\Document\Article; | |
use Schuh\BlogBundle\Document\Comment; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Reizwerk\TestSuiteBundle\Test; | |
use Doctrine\ODM\MongoDB\DocumentManager; | |
use Doctrine\Common\DataFixtures\Executor\MongoDBExecutor; | |
use Doctrine\Common\DataFixtures\Purger\MongoDBPurger; | |
use Symfony\Bridge\Doctrine\DataFixtures\ContainerAwareLoader; | |
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Symfony2 ContainerAware TestCase Base class example implementation | |
* | |
* @author Thomas Ploch | |
* @copyright 2012 REIZWERK GmbH | |
* @license The MIT License (MIT) | |
*/ | |
namespace Reizwerk\ContainerTestBundle\Tests; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Initializes configure and runs the bootstrap process. | |
* Bootstrapping includes the following steps: | |
* | |
* - Setup App array in Configure. | |
* - Include app/Config/core.php. | |
* - Configure core cache configurations. | |
* - Load App cache files. | |
* - Include app/Config/bootstrap.php. |
NewerOlder