From 03c315d5466af72d337f0267b4e8a1ecbbda38b7 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Thu, 19 Jun 2014 23:57:32 -0500 Subject: [PATCH] SFTP: return $sftp object in unit tests --- tests/Functional/Net/SFTPUserStoryTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/Functional/Net/SFTPUserStoryTest.php b/tests/Functional/Net/SFTPUserStoryTest.php index 92c0263b..bdf8e7e3 100644 --- a/tests/Functional/Net/SFTPUserStoryTest.php +++ b/tests/Functional/Net/SFTPUserStoryTest.php @@ -325,6 +325,8 @@ class Functional_Net_SFTPUserStoryTest extends PhpseclibFunctionalTestCase $sftp->symlink('file3.txt', 'symlink'), 'Failed asserting that a symlink could be created' ); + + return $sftp; } /** @@ -335,6 +337,8 @@ class Functional_Net_SFTPUserStoryTest extends PhpseclibFunctionalTestCase $this->assertInternalType('string', $sftp->readlink('symlink'), 'Failed asserting that a symlink\'s target could be read' ); + + return $sftp; } /**