Release 2.12 (#4609)
This commit is contained in:
@@ -42,7 +42,7 @@ class LdapConfigurationTest extends TestCase
|
||||
];
|
||||
}
|
||||
|
||||
public function testDefault()
|
||||
public function testDefault(): void
|
||||
{
|
||||
$sut = $this->getSut([]);
|
||||
$this->assertFalse($sut->isActivated());
|
||||
@@ -51,7 +51,7 @@ class LdapConfigurationTest extends TestCase
|
||||
$this->assertEquals([], $sut->getConnectionParameters());
|
||||
}
|
||||
|
||||
public function testMapping()
|
||||
public function testMapping(): void
|
||||
{
|
||||
$sut = $this->getSut($this->getDefaultSettings());
|
||||
$this->assertTrue($sut->isActivated());
|
||||
|
||||
@@ -17,13 +17,13 @@ use PHPUnit\Framework\TestCase;
|
||||
*/
|
||||
class MailConfigurationTest extends TestCase
|
||||
{
|
||||
public function testGetFromAddress()
|
||||
public function testGetFromAddress(): void
|
||||
{
|
||||
$sut = new MailConfiguration('foo-bar123@example.com');
|
||||
self::assertEquals('foo-bar123@example.com', $sut->getFromAddress());
|
||||
}
|
||||
|
||||
public function testGetFromAddressWithEmptyAddressReturnsNull()
|
||||
public function testGetFromAddressWithEmptyAddressReturnsNull(): void
|
||||
{
|
||||
$sut = new MailConfiguration('');
|
||||
self::assertNull($sut->getFromAddress());
|
||||
|
||||
@@ -50,7 +50,7 @@ class SamlConfigurationTest extends TestCase
|
||||
];
|
||||
}
|
||||
|
||||
public function testDefault()
|
||||
public function testDefault(): void
|
||||
{
|
||||
$sut = $this->getSut([]);
|
||||
$this->assertFalse($sut->isActivated());
|
||||
@@ -62,7 +62,7 @@ class SamlConfigurationTest extends TestCase
|
||||
$this->assertFalse($sut->isRolesResetOnLogin());
|
||||
}
|
||||
|
||||
public function testDefaultSettings()
|
||||
public function testDefaultSettings(): void
|
||||
{
|
||||
$sut = $this->getSut($this->getDefaultSettings());
|
||||
$this->assertTrue($sut->isActivated());
|
||||
|
||||
Reference in New Issue
Block a user