luyatests\core\console\controllers\CrudControllerTest::testFindModelFolderIsModelFolderAvailable PHP Method

testFindModelFolderIsModelFolderAvailable() public method

    public function testFindModelFolderIsModelFolderAvailable()
    {
        $ctrl = new CrudController('id', Yii::$app);
        $testShema = Yii::$app->db->getTableSchema('admin_user', true);
        $ctrl->moduleName = 'crudmodulefolderadmin';
        $ctrl->ensureBasePathAndNamespace();
        $this->assertNotEquals($ctrl->basePath, $ctrl->modelBasePath);
        $this->assertNotEquals($ctrl->namespace, $ctrl->modelNamespace);
    }