Skip to content

Commit 52aa8f0

Browse files
committed
Renewed execution environment.
1 parent 6801710 commit 52aa8f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/Swift/Transport/Esmtp/Auth/NTLMAuthenticatorTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function testMessage1Generator()
2929

3030
public function testLMv1Generator()
3131
{
32-
if (!in_array('des-ecb', openssl_get_cipher_methods())) {
32+
if (array_filter(openssl_get_cipher_methods(), fn ($c) => !strcasecmp($c, 'des-ecb'))) {
3333
$this->markTestSkipped('Need Cipher DES-ECB to run these tests.');
3434
}
3535

0 commit comments

Comments
 (0)