Some Telegram endpoints behave weirdly when accessed from travis

This commit is contained in:
Daniil Gentili 2020-02-05 19:56:31 +01:00
parent 06fa416cb0
commit 892c19af24
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -99,7 +99,7 @@ final class DataCenterTest extends TestCase
if ($protocol === 'full' && $obfuscated) {
continue;
}
if ($protocol === 'intermediate' && $obfuscated && getenv('TRAVIS_COMMIT')) {
if (in_array($protocol, ['intermediate', 'intermediate_padded']) && $obfuscated && getenv('TRAVIS_COMMIT')) {
continue;
}
yield [$transport, $obfuscated, $protocol, $test_mode, $ipv6];