Gc\View\Helper\CdnBackendTest::testInvokeSecure PHP Method

testInvokeSecure() public method

Test
public testInvokeSecure ( ) : void
return void
    public function testInvokeSecure()
    {
        $coreConfig = Registry::get('Application')->getServiceManager()->get('CoreConfig');
        $basePath = $coreConfig->setValue('force_backend_ssl', 1);
        $basePath = $coreConfig->setValue('secure_cdn_base_path', 'https://got-cms.com');
        $this->assertEquals('https://got-cms.com/test', $this->object->__invoke('test'));
    }