ミラー元
https://github.com/nextcloud/server.git
前回の同期 2024-08-12 14:11:31 +02:00
Move testcase to own test function
Move testcase for getDefaultEmailAddress with mail_domain set in config.php to own test function.
このコミットが含まれているのは:
コミット
410b991221
@ -46,7 +46,9 @@ class Test_Util extends PHPUnit_Framework_TestCase {
|
||||
function testGetDefaultEmailAddress() {
|
||||
$email = \OCP\Util::getDefaultEmailAddress("no-reply");
|
||||
$this->assertEquals('no-reply@localhost.localdomain', $email);
|
||||
|
||||
}
|
||||
|
||||
function testGetDefaultEmailAddressFromConfig() {
|
||||
OC_Config::setValue('mail_domain', 'example.com');
|
||||
$email = \OCP\Util::getDefaultEmailAddress("no-reply");
|
||||
$this->assertEquals('no-reply@example.com', $email);
|
||||
|
読み込み中…
新しいイシューから参照
ユーザーをブロックする