[ 'ZF\Apigility\Admin', 'ZF\Apigility\Admin\Ui', ], 'module_listener_options' => [ 'config_cache_enabled' => false, 'config_glob_paths' => [ __DIR__ . '/../../../../config/autoload/{,*.}{global,local}.php', __DIR__ . '/../../../../config/autoload/{,*.}{global,local}-development.php', ], ] ]; $this->setApplicationConfig(ArrayUtils::merge( include __DIR__ . '/../../../../config/application.config.php', $configOverrides )); parent::setUp(); } public function testIndexActionRedirectsToAdminUi() { $this->dispatch('/', 'GET'); $this->assertResponseStatusCode(302); $this->assertRedirectRegex('#/ui$#'); } }