Пример #1
0
 public function testGettingInputObject()
 {
     $migrations = $this->manager->getMigrations();
     $seeds = $this->manager->getSeeds();
     $inputObject = $this->manager->getInput();
     $this->assertInstanceOf('\\Symfony\\Component\\Console\\Input\\InputInterface', $inputObject);
     foreach ($migrations as $migration) {
         $this->assertEquals($inputObject, $migration->getInput());
     }
     foreach ($seeds as $seed) {
         $this->assertEquals($inputObject, $seed->getInput());
     }
 }