Issue #2699565: Replace \Drupal:: with $this->container->get() in test classes of Basic Auth module
1 unresolved thread
Merge request reports
Activity
23 * The page cache kill switch service. 24 * 25 * @var \Drupal\Core\PageCache\ResponsePolicy\ResponsePolicyInterface 26 */ 27 private $pageCacheKillSwitch; 28 29 /** 30 * Constructs a new BasicAuthTestController object. 31 * 32 * @param \Drupal\Core\State\StateInterface $state 33 * The state storage service. 34 * @param \Drupal\Core\PageCache\ResponsePolicy\ResponsePolicyInterface $pageCacheKillSwitch 35 * The page cache kill switch service. 36 */ 37 public function __construct(StateInterface $state, ResponsePolicyInterface $pageCacheKillSwitch) { 38 $this->state = $state; changed this line in version 6 of the diff
Please register or sign in to reply