Commit 873c5aab authored by webchick's avatar webchick
Browse files

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

parent f7996a95
......@@ -50,9 +50,7 @@ public function testBasicAuth() {
$this->assertResponse('403', 'Access is not granted.');
// @todo Change ->drupalGet() calls to just pass $url when
// gets committed
$this->assertEqual($this->drupalGetHeader('WWW-Authenticate'), SafeMarkup::format('Basic realm="@realm"', ['@realm' => \Drupal::config('')->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