Closed sabina-talipova closed 7 months ago
This issue happens now only in CI and related to this PR.
I just might assume that something happens in mock controller. I think, if we add $controllerMock->method('getResponse')->willReturn('test');
probably also solve the problem, but I think just in case would be better to check that we have response before.
I'll open PR for ckan-registry
as well.
Sorry I mean can you link to the broken build in CI?
Better to fix on ckan registry directly. Closing this PR in favor of https://github.com/silverstripe/silverstripe-ckan-registry/pull/305
Description
Check that
$controller->getResponse()
is notNULL
before invokeaddHeader
on it.Parent issue