Skip to content
Snippets Groups Projects
Unverified Commit a85bbe72 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Fix namespaces

parent 0bbe3de1
No related branches found
No related tags found
No related merge requests found
......@@ -178,7 +178,7 @@ class DatabaseTest extends TestCase
{
$getSlave = self::getMethod('getSlave');
$master = spl_object_hash(\PHPUnit_Framework_Assert::readAttribute($this->db, 'dbMaster'));
$master = spl_object_hash(\PHPUnit\Framework\Assert::readAttribute($this->db, 'dbMaster'));
$slave = spl_object_hash($getSlave->invokeArgs($this->db, []));
$this->assertTrue(($master == $slave), "getSlave should have returned the master database object");
......@@ -201,7 +201,7 @@ class DatabaseTest extends TestCase
$sspConfiguration = new \SimpleSAML\Configuration($config, "test/SimpleSAML/DatabaseTest.php");
$msdb = \SimpleSAML\Database::getInstance($sspConfiguration);
$slaves = \PHPUnit_Framework_Assert::readAttribute($msdb, 'dbSlaves');
$slaves = \PHPUnit\Framework\Assert::readAttribute($msdb, 'dbSlaves');
$gotSlave = spl_object_hash($getSlave->invokeArgs($msdb, []));
$this->assertEquals(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment