From 6f8d12ffc776994589524007ed08a4dbf3f1194f Mon Sep 17 00:00:00 2001 From: terrafrost Date: Tue, 12 Oct 2021 20:35:38 -0500 Subject: [PATCH] Tests: tests were being skipped because their deps had no asserts --- tests/Functional/Net/SFTPUserStoryTest.php | 2 ++ tests/Functional/Net/SSH2Test.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/Functional/Net/SFTPUserStoryTest.php b/tests/Functional/Net/SFTPUserStoryTest.php index 6787b62f..c155c627 100644 --- a/tests/Functional/Net/SFTPUserStoryTest.php +++ b/tests/Functional/Net/SFTPUserStoryTest.php @@ -719,6 +719,8 @@ class Functional_Net_SFTPUserStoryTest extends PhpseclibFunctionalTestCase sleep(5); $sftp->nlist(); + $this->assertTrue(true); + return $sftp; } diff --git a/tests/Functional/Net/SSH2Test.php b/tests/Functional/Net/SSH2Test.php index 09c9ff04..279804c3 100644 --- a/tests/Functional/Net/SSH2Test.php +++ b/tests/Functional/Net/SSH2Test.php @@ -149,6 +149,8 @@ class Functional_Net_SSH2Test extends PhpseclibFunctionalTestCase $ssh->disablePTY(); $ssh->exec('pwd'); + $this->assertTrue(true); + return $ssh; }