Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've the following test:
$this->drupalGet('node');
$this->assertNoResponse(200, t('User is redirected to the Authorization page.'));
And during some SSO validation, user is redirected to external website for authorization which in this point the test should pass (from the point of test).
But what is happening, it throws the error:
GET https://xxx/x/x/x/AuthenticationWeb/getCookieAccessKeyAndLogin.do?flurl=http%3A%2F%2Fx%2Fx returned 0 (0 bytes).
no matter which Assert I'll set after that.
Is there any way to ignore the error result of $this->drupalGet, no matter what? Or eventually force it to redirect (based on HTTPS and invalid certificate)?
Adding @ in the front doesn't help.
Comments
Comment #1
kenorb CreditAttribution: kenorb commentedVersion 6.x is no longer supported due to Drupal 6 End of Life.