From 3a34ae5731f854c203e9d74aba48ae1bdb62a765 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Sun, 21 Sep 2014 18:17:38 -0700 Subject: [PATCH] Improve coverage of MailAddress::toString() Change-Id: I8d5a1e8f293afa03d94167b722d3078f467cf59e --- tests/phpunit/includes/mail/MailAddressTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/includes/mail/MailAddressTest.php b/tests/phpunit/includes/mail/MailAddressTest.php index 2d0781204f..76566eb03e 100644 --- a/tests/phpunit/includes/mail/MailAddressTest.php +++ b/tests/phpunit/includes/mail/MailAddressTest.php @@ -49,6 +49,7 @@ class MailAddressTest extends MediaWikiTestCase { array( false, 'foo@bar.baz', 'AUserName', 'Some real name', 'AUserName ' ), array( false, 'foo@bar.baz', '', '', 'foo@bar.baz' ), array( true, 'foo@bar.baz', '', '', 'foo@bar.baz' ), + array( true, '', '', '', '' ), ); } -- 2.20.1