public function setUp() { parent::setUp(); $moduleLoader = new \Fab\Vidi\Module\ModuleLoader($this->dataType); $moduleLoader->register(); $GLOBALS['_GET']['M'] = $this->moduleCode; $this->fixture = new \Fab\Vidi\Grid\RelationRenderer(); }
/** * @test */ public function getModuleConfigurationWithParameterDataTypeReturnsDataType() { $moduleLoader = new \Fab\Vidi\Module\ModuleLoader($this->dataType); $moduleLoader->register(); $GLOBALS['_GET']['M'] = $this->moduleCode; $this->assertEquals($this->dataType, $moduleLoader->getModuleConfiguration('dataType')); }