mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-26 03:27:31 +00:00
Tests/SFTP: PHP 8.1 error message changed
This commit is contained in:
parent
89bfb45bd8
commit
dc3e7bda71
@ -14,8 +14,8 @@ class SFTPWrongServerTest extends TestCase
|
||||
} catch (UnableToConnectException $e) {
|
||||
// getaddrinfo message seems not to return stable text
|
||||
static::assertSame(
|
||||
'Cannot connect to dummy-server:22. Error 0. php_network_getaddresses: getaddrinfo failed:',
|
||||
substr($e->getMessage(),0,89)
|
||||
'Cannot connect to dummy-server:22. Error 0. php_network_getaddresses: getaddrinfo',
|
||||
substr($e->getMessage(),0,81)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user