Skip to content

Commit

Permalink
test/Horde/Vfs/SmbTest.php: Fix env var name (probably amending a cop…
Browse files Browse the repository at this point in the history
…y+paste flaw).
  • Loading branch information
sunweaver committed Sep 28, 2020
1 parent f88615f commit 517aee1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Horde/Vfs/SmbTest.php
Expand Up @@ -17,7 +17,7 @@ class Horde_Vfs_SmbTest extends Horde_Vfs_TestBase
{
public static function setUpBeforeClass()
{
$config = self::getConfig('VFS_FTP_TEST_CONFIG', __DIR__);
$config = self::getConfig('VFS_SMB_TEST_CONFIG', __DIR__);
if ($config && !empty($config['vfs']['smb'])) {
if (!is_executable($config['vfs']['smb']['smbclient'])) {
self::$reason = 'No executable smbclient';
Expand Down Expand Up @@ -212,7 +212,7 @@ public function testHostspecWithPath()
self::$vfs->createFolder('', 'hostspectest');
self::$vfs->createFolder('hostspectest', 'directory');
self::$vfs->createFolder('hostspectest/directory', 'subdir');
$config = self::getConfig('VFS_FTP_TEST_CONFIG', __DIR__);
$config = self::getConfig('VFS_SMB_TEST_CONFIG', __DIR__);
$config['vfs']['smb']['share'] .= '/hostspectest';
$vfs = Horde_Vfs::factory('Smb', $config['vfs']['smb']);
$this->assertEquals(
Expand Down

0 comments on commit 517aee1

Please sign in to comment.