예제 #1
0
 public function setUp()
 {
     $kernel = new TestKernel('test', true);
     $kernel->boot();
     $this->kernel = $kernel;
     $this->container = $kernel->getContainer();
     $this->executeCommand('doctrine:database:create');
     $this->executeCommand('doctrine:schema:update', ['--force' => true]);
 }
예제 #2
0
 public function setUp()
 {
     $kernel = new TestKernel('test', true);
     $kernel->boot();
     $this->container = $kernel->getContainer();
 }