Tests/SFTP: previously last method was void, causing error

This commit is contained in:
terrafrost 2023-08-28 09:06:38 -05:00
parent c160a020db
commit e7379980b4

View File

@ -792,7 +792,7 @@ class SFTPUserStoryTest extends PhpseclibFunctionalTestCase
/** /**
* @depends testRawlistDisabledStatCache * @depends testRawlistDisabledStatCache
*/ */
public function testChownChgrp(SFTP $sftp): void public function testChownChgrp(SFTP $sftp)
{ {
$stat = $sftp->stat(self::$scratchDir); $stat = $sftp->stat(self::$scratchDir);
$this->assertTrue($sftp->chown(self::$scratchDir, $stat['uid'])); $this->assertTrue($sftp->chown(self::$scratchDir, $stat['uid']));