Cake\Upgrade\Test\TestCase\Shell\Task\SkeletonTaskTest::testProcess PHP Méthode

testProcess() public méthode

SkeletonTaskTest::testProcess()
public testProcess ( ) : void
Résultat void
    public function testProcess()
    {
        $path = TMP . 'skeleton_test' . DS;
        $this->assertFalse(file_exists($path . 'logs' . DS . 'empty'));
        $result = $this->sut->process($path . 'composer.json');
        $this->assertTrue($result);
        $this->assertTrue(file_exists($path . 'logs' . DS . 'empty'));
        $this->assertTrue(file_exists($path . 'tests' . DS . 'bootstrap.php'));
    }