Skip to content

Commit e99124b

Browse files
authored
Merge pull request minkphp#349 from stof/skip_basic_auth_test
Skip the BasicAuth test asserting auth in URL
2 parents 9db0068 + ee5b91a commit e99124b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/Selenium2Config.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Behat\Mink\Tests\Driver;
44

55
use Behat\Mink\Driver\Selenium2Driver;
6+
use Behat\Mink\Tests\Driver\Basic\BasicAuthTest;
67

78
class Selenium2Config extends AbstractConfig
89
{
@@ -42,6 +43,10 @@ public function skipMessage($testCase, $test)
4243
return 'Maximizing the window does not work when running the browser in Xvfb.';
4344
}
4445

46+
if (BasicAuthTest::class === $testCase && 'testBasicAuthInUrl' === $test) {
47+
return 'Basic auth setup is not supported.';
48+
}
49+
4550
return parent::skipMessage($testCase, $test);
4651
}
4752

0 commit comments

Comments
 (0)