This unit test wasn't actually testing what it was supposed to. Previously it was just going to the /Security/login. Changed so it logs in a mock user like all the other tests in the file so that it actually reaches the line of code it's testing AdminRegistrationController::startRegistration() ... HTTPCacheControlMiddleware::singleton()->disableCache(true);
Issue https://github.com/silverstripe/silverstripe-framework/issues/10278
Travis error https://app.travis-ci.com/github/silverstripe/recipe-kitchen-sink/jobs/567740349#L1927
This unit test wasn't actually testing what it was supposed to. Previously it was just going to the /Security/login. Changed so it logs in a mock user like all the other tests in the file so that it actually reaches the line of code it's testing
AdminRegistrationController::startRegistration() ... HTTPCacheControlMiddleware::singleton()->disableCache(true);