1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Wed, 12 Jul 2023 09:34:14 +0200
Subject: Drop test failing on PHPUnit 10
Revert "Tests: add test for connecting to non-existant host"
This reverts commit 9b587a87c0b7325bf13b93b2f6e639a980d461ea.
Bug-Debian: https://bugs.debian.org/1039832
Origin: backport, https://github.com/phpseclib/phpseclib/commit/9b587a87c0b7325bf13b93b2f6e639a980d461ea
---
tests/Functional/Net/SFTPUserStoryTest.php | 8 --------
1 file changed, 8 deletions(-)
diff --git a/tests/Functional/Net/SFTPUserStoryTest.php b/tests/Functional/Net/SFTPUserStoryTest.php
index 07e1bc3..d5fa31a 100644
--- a/tests/Functional/Net/SFTPUserStoryTest.php
+++ b/tests/Functional/Net/SFTPUserStoryTest.php
@@ -23,14 +23,6 @@ class Functional_Net_SFTPUserStoryTest extends PhpseclibFunctionalTestCase
self::$exampleDataLength = 10000;
}
- public function testBadHostname()
- {
- $this->setExpectedException('PHPUnit_Framework_Error_Notice');
-
- $sftp = new Net_SFTP('bad host name');
- $sftp->login('username', 'password');
- }
-
public function testConstructor()
{
$sftp = new Net_SFTP($this->getEnv('SSH_HOSTNAME'));
|