function OpenLayersCCKWidgetTest::setUp in Openlayers 6.2
File
- modules/
openlayers_cck/ tests/ openlayers_cck.test, line 25 - OpenLayers CCK tests
Class
- OpenLayersCCKWidgetTest
- OpenLayers Test Class
Code
function setUp() {
// Note that the CRUD testing for CCK assumes the following modules
// as well as these: content, text, schema
// Often one does not have schema available and exceptions will happen.
parent::setUp('ctools', 'openlayers', 'openlayers_cck');
$this
->loginWithPermissions();
$this
->acquireContentTypes(1);
module_load_include('inc', 'cck', 'tests/content.crud.test');
}