Commit 873c5aab authored by webchick's avatar webchick

Issue #2473687 by Dom.: Fix @todo in BasicAuthTest

parent f7996a95
......@@ -50,9 +50,7 @@ public function testBasicAuth() {
$this->assertResponse('403', 'Access is not granted.');
$this->curlClose();
// @todo Change ->drupalGet() calls to just pass $url when
// https://www.drupal.org/node/2350837 gets committed
$this->drupalGet($url->setAbsolute()->toString());
$this->drupalGet($url);
$this->assertEqual($this->drupalGetHeader('WWW-Authenticate'), SafeMarkup::format('Basic realm="@realm"', ['@realm' => \Drupal::config('system.site')->get('name')]));
$this->assertResponse('401', 'Not authenticated on the route that allows only basic_auth. Prompt to authenticate received.');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment